summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-04-06 13:21:21 +0300
committerLukas Reschke <lukas@statuscode.ch>2013-04-06 13:21:21 +0300
commit65529967349aa7114f8632ca417d01e512d1584f (patch)
treeee39a996927901d5937afebfb620fb4dd5f1863b /apps
parente91e8b1170fa564cdfbe00e416829983914804fe (diff)
downloadnextcloud-server-65529967349aa7114f8632ca417d01e512d1584f.tar.gz
nextcloud-server-65529967349aa7114f8632ca417d01e512d1584f.zip
Set file perms to 0640 of mount.json - fixes #2718
Diffstat (limited to 'apps')
-rwxr-xr-xapps/files_external/lib/config.php1
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);
}
/**