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: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
04a65121b7
commit
8501cf9b5c
|
@ -81,7 +81,7 @@ class EncryptionWrapper {
|
|||
'mount' => $mount
|
||||
];
|
||||
|
||||
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class)) {
|
||||
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class) && $mountPoint !== '/') {
|
||||
$user = \OC::$server->getUserSession()->getUser();
|
||||
$mountManager = Filesystem::getMountManager();
|
||||
$uid = $user ? $user->getUID() : null;
|
||||
|
|
Loading…
Reference in New Issue