Merge 1f95f9b479
into fdb55c65f8
This commit is contained in:
commit
40307ce117
|
@ -219,7 +219,7 @@ class SMB extends Common implements INotifyStorage {
|
|||
private function getACL(IFileInfo $file): ?ACL {
|
||||
$acls = $file->getAcls();
|
||||
foreach ($acls as $user => $acl) {
|
||||
[, $user] = explode('\\', $user); // strip domain
|
||||
[, $user] = strpos($user, '\\') ? explode('\\', $user) : ['','']; // strip domain
|
||||
if ($user === $this->server->getAuth()->getUsername()) {
|
||||
return $acl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue