mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
set read permissions on failed mount root
This commit is contained in:
parent
e420ae068c
commit
b12d449ec7
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue