From: Morris Jobke Date: Thu, 17 Sep 2020 07:52:31 +0000 (+0200) Subject: Create proper target path for shared storage fopen event X-Git-Tag: v20.0.0RC1~8^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F22902%2Fhead;p=nextcloud-server.git Create proper target path for shared storage fopen event Signed-off-by: Morris Jobke --- diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index 1735cab43f6..eb9d7cfc553 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -286,7 +286,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto } } $info = [ - 'target' => $this->getMountPoint() . $path, + 'target' => $this->getMountPoint() . '/' . $path, 'source' => $source, 'mode' => $mode, ];