fix handling of 'Everyone' acl when using native backend

This commit is contained in:
Robin Appelman 2021-03-05 16:13:37 +01:00
commit b623cc1d7f
3 changed files with 43 additions and 5 deletions

View file

@ -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);