From 119e8474b60e82d2d1706e365d54d1d988c553ea Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 20 May 2017 16:23:04 +0200 Subject: fix for sharing 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); -- cgit v1.2.3