From b12d449ec7b50f928ab366b415d520113959aea6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 4 Feb 2016 16:41:27 +0100 Subject: [PATCH] set read permissions on failed mount root --- apps/files_external/lib/failedcache.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_external/lib/failedcache.php b/apps/files_external/lib/failedcache.php index f9866f43058..0f59495e595 100644 --- a/apps/files_external/lib/failedcache.php +++ b/apps/files_external/lib/failedcache.php @@ -22,6 +22,7 @@ namespace OCA\Files_External\Lib; use OC\Files\Cache\CacheEntry; +use OCP\Constants; use OCP\Files\Cache\ICache; /** @@ -40,7 +41,7 @@ class FailedCache implements ICache { 'size' => 0, 'mimetype' => 'httpd/unix-directory', 'mimepart' => 'httpd', - 'permissions' => 0, + 'permissions' => Constants::PERMISSION_READ, 'mtime' => time() ]); } else { -- 2.39.5