set read permissions on failed mount root

This commit is contained in:
Robin Appelman 2016-02-04 16:41:27 +01:00
parent e420ae068c
commit b12d449ec7

View file

@ -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 {