diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-04-06 13:21:21 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-04-06 13:21:21 +0300 |
commit | 65529967349aa7114f8632ca417d01e512d1584f (patch) | |
tree | ee39a996927901d5937afebfb620fb4dd5f1863b /apps | |
parent | e91e8b1170fa564cdfbe00e416829983914804fe (diff) | |
download | nextcloud-server-65529967349aa7114f8632ca417d01e512d1584f.tar.gz nextcloud-server-65529967349aa7114f8632ca417d01e512d1584f.zip |
Set file perms to 0640 of mount.json - fixes #2718
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_external/lib/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 11d24045fd9..01462cb6f85 100755 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -339,6 +339,7 @@ class OC_Mount_Config { } $content = json_encode($data); @file_put_contents($file, $content); + @chmod($file, 0640); } /** |