From 8817c651200bf4779781c284637b1c341d745471 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 20 May 2017 17:15:14 +0200 Subject: [PATCH] fix for sharing stable12 Signed-off-by: Daniel Hansson --- apps/files_sharing/lib/External/Manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index 2adcc7cf5cb..4e0b3a215f0 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -198,6 +198,7 @@ class Manager { $share = $this->getShare($id); if ($share) { + \OC_Util::setupFS($this->uid); $mountPoint = Files::buildNotExistingFileName('/', $share['name']); $mountPoint = Filesystem::normalizePath('/' . $mountPoint); $hash = md5($mountPoint); -- 2.39.5