From 7dcc98eb202c089a2966004ffb988166f3c4e3d7 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 9 Sep 2016 12:57:01 +0200 Subject: Add owner to access list Signed-off-by: Roeland Jago Douma --- lib/private/Share20/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Share20') diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 127eef423ed..ce0444a76ba 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1221,7 +1221,7 @@ class Manager implements IManager { $path = $path->getParent(); } - $users = []; + $users = [$owner => 'null']; $public = false; $remote = false; foreach ($shares as $share) { -- cgit v1.2.3