diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-04 16:41:27 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-04 16:41:27 +0100 |
commit | b12d449ec7b50f928ab366b415d520113959aea6 (patch) | |
tree | 8fff6e48994c47f86b20eedbf74b682f367d703a /apps/files_external | |
parent | e420ae068cffc58670ddace5f8567ecd9aacfa5b (diff) | |
download | nextcloud-server-b12d449ec7b50f928ab366b415d520113959aea6.tar.gz nextcloud-server-b12d449ec7b50f928ab366b415d520113959aea6.zip |
set read permissions on failed mount root
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/failedcache.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |