Skip to content
Snippets Groups Projects
Unverified Commit 8501cf9b authored by Robin Appelman's avatar Robin Appelman Committed by Julius Härtl
Browse files

dont apply encryption wrapper for root mount


the `shouldEncrypt` already disables encryption for anything thats not in the users data folder,
however the encryption wrapper being applied anyway on the root folder breaks groupfolders

Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent 04a65121
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ class EncryptionWrapper { ...@@ -81,7 +81,7 @@ class EncryptionWrapper {
'mount' => $mount 'mount' => $mount
]; ];
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class)) { if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class) && $mountPoint !== '/') {
$user = \OC::$server->getUserSession()->getUser(); $user = \OC::$server->getUserSession()->getUser();
$mountManager = Filesystem::getMountManager(); $mountManager = Filesystem::getMountManager();
$uid = $user ? $user->getUID() : null; $uid = $user ? $user->getUID() : null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment