From e46741cf5d222088cc20256462a6d93f85ac27c5 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 12 Oct 2015 17:34:51 +0200 Subject: detect object homestorage in share code --- lib/private/share/share.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/private/share/share.php') diff --git a/lib/private/share/share.php b/lib/private/share/share.php index f2ba33bd16b..b015d7738b5 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2636,7 +2636,9 @@ class Share extends Constants { */ private static function isFileReachable($path, $ownerStorageId) { // if outside the home storage, file is always considered reachable - if (!(substr($ownerStorageId, 0, 6) === 'home::')) { + if (!(substr($ownerStorageId, 0, 6) === 'home::' || + substr($ownerStorageId, 0, 13) === 'object::user:' + )) { return true; } -- cgit v1.2.3