]> source.dussan.org Git - nextcloud-server.git/commitdiff
set read permissions on failed mount root
authorRobin Appelman <icewind@owncloud.com>
Thu, 4 Feb 2016 15:41:27 +0000 (16:41 +0100)
committerRobin Appelman <icewind@owncloud.com>
Thu, 4 Feb 2016 15:41:27 +0000 (16:41 +0100)
apps/files_external/lib/failedcache.php

index f9866f43058c8c3049c755fee7d2f8e4485f6b3e..0f59495e5952d3871f45cf7b3b3b5f22cacfd41a 100644 (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 {