mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
fix handling of 'Everyone' acl when using native backend
This commit is contained in:
parent
91d173cc55
commit
b623cc1d7f
3 changed files with 43 additions and 5 deletions
|
|
@ -185,6 +185,7 @@ class NativeFileInfo implements IFileInfo {
|
|||
|
||||
foreach (explode(',', $attribute) as $acl) {
|
||||
list($user, $permissions) = explode(':', $acl, 2);
|
||||
$user = trim($user, '\\');
|
||||
list($type, $flags, $mask) = explode('/', $permissions);
|
||||
$mask = hexdec($mask);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue