Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
explicitly handle /files_ecryption/... paths when setting up mounts
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed May 31, 2023
commit 9cbc6283fef421022471ce4cb2c974f71c2580e8
2 changes: 1 addition & 1 deletion lib/private/Files/SetupManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function setupRoot(): void {
* @return IUser|null
*/
private function getUserForPath(string $path) {
if (strpos($path, '/__groupfolders') === 0) {
if (str_starts_with($path, '/__groupfolders') || str_starts_with($path, '/files_encryption')) {
return null;
} elseif (substr_count($path, '/') < 2) {
if ($user = $this->userSession->getUser()) {
Expand Down