diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 1f651a1b10..a3f6bebb0f 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -219,7 +219,8 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE { if ($path == "" || $path == "/") { return true; } else { - return OC_SHARE::isWriteable($path); + $target = OC_FILESYSTEM::getStorageMountPoint($this).$path; + return OC_SHARE::isWriteable($target); } }