Commit graph

18 commits

Author SHA1 Message Date
84fa890ea7 all the types 2021-03-09 20:18:25 +01:00
e9f6d00a93 more type hints 2021-03-09 18:01:42 +01:00
767f6b3f6f use write_time instead of change_time when using libsmbclient
this better matches the behavior of the smbclient backend and the previous libsmbclient behavior
2021-03-09 17:19:28 +01:00
b623cc1d7f fix handling of 'Everyone' acl when using native backend 2021-03-05 16:13:37 +01:00
b69c20d21a type fixes 2021-03-02 20:56:24 +01:00
Roeland Jago Douma
e1d2a71d5f
Update NativeFileInfo.php
We should return the actual bitmasked mode
2020-09-03 11:11:25 +02:00
Roeland Jago Douma
3dff9193a3
Ignore ATTR_NOT_CONTENT_INDEXED
See: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb/65e0c225-5925-44b0-8104-6b91339c709f

I'm not sure if this runs into other issues. But I ran into several servers that have 0x2000 set. (so don't index) but still just use the normal directory modes etc (0x10) instead of (0x4000)
2020-07-20 14:56:19 +02:00
24db40c674 improve mode mask detection 2020-06-29 13:37:17 +02:00
80921d69f5 dont error when working with empty file names 2020-05-27 15:56:04 +02:00
cb9c9c602d properly handle libsmbclient versions that return unix modes when we request a dos mode 2020-05-11 15:31:11 +02:00
927e330901 properly handle libsmbclient versions that return unix modes when we request a dos mode 2020-05-11 15:29:24 +02:00
b594f7c408 use system.dos_attr.* for both mode and stat info
this enables getting all the info needed for the FileInfo in a single request, instead of requiring two
2020-03-24 16:29:44 +01:00
444cc1cdfb Revert "Use stat to fetch mode"
This reverts commit 26ba16309d.
2020-02-10 16:14:55 +01:00
3c5e45dc54 allow getting acls of files 2020-02-10 15:52:48 +01:00
Julius Härtl
26ba16309d
Use stat to fetch mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 12:58:38 +01:00
83cea01c56 enforce code style with php-cs in travis 2018-08-28 16:22:59 +02:00
350e19c285 Make NativeShare::getStat private to avoid confusion with NativeShare::stat 2018-08-28 16:22:59 +02:00
29bdebad42 move backends into their own namespace and add support for multiple auth methods 2018-03-13 19:05:41 +01:00
Renamed from src/NativeFileInfo.php (Browse further)