diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index e795e7cfd9212..e07bea7321005 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -219,7 +219,7 @@ protected function throwUnavailable(\Exception $e) { private function getACL(IFileInfo $file): ?ACL { $acls = $file->getAcls(); foreach ($acls as $user => $acl) { - [, $user] = explode('\\', $user); // strip domain + [, $user] = $this->splitUser($user); // strip domain if ($user === $this->server->getAuth()->getUsername()) { return $acl; }