diff --git a/api/src/Vfs/Sqlfs/StreamWrapper.php b/api/src/Vfs/Sqlfs/StreamWrapper.php index 1356546b1c..ac93cd527f 100644 --- a/api/src/Vfs/Sqlfs/StreamWrapper.php +++ b/api/src/Vfs/Sqlfs/StreamWrapper.php @@ -1852,7 +1852,7 @@ GROUP BY A.fs_id'; { return false; } - if (!$this->check_access($path,Api\Acl::EDIT, $stat)) + if (!$this->check_access($path,Vfs::WRITABLE, $stat)) { return false; // permission denied }