diff --git a/apps/dav/lib/connector/sabre/filesplugin.php b/apps/dav/lib/connector/sabre/filesplugin.php index e973b4e8682..bf9bee02578 100644 --- a/apps/dav/lib/connector/sabre/filesplugin.php +++ b/apps/dav/lib/connector/sabre/filesplugin.php @@ -27,6 +27,7 @@ namespace OCA\DAV\Connector\Sabre; +use OCP\Files\ForbiddenException; use Sabre\DAV\Exception\NotFound; use Sabre\DAV\IFile; use \Sabre\DAV\PropFind; @@ -257,6 +258,8 @@ class FilesPlugin extends \Sabre\DAV\ServerPlugin { } } catch (StorageNotAvailableException $e) { return false; + } catch (ForbiddenException $e) { + return false; } return false; });