From 933beac8807509fa80993110afa79377ddc1def7 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 20 May 2017 17:22:42 +0200 Subject: [PATCH] fix for sharing stable 11 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 0a57324c32..d857d7dcd5 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -193,6 +193,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);