From: Lukas Reschke Date: Sat, 6 Apr 2013 10:21:21 +0000 (+0300) Subject: Set file perms to 0640 of mount.json - fixes #2718 X-Git-Tag: v6.0.0alpha2~952^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=65529967349aa7114f8632ca417d01e512d1584f;p=nextcloud-server.git Set file perms to 0640 of mount.json - fixes #2718 --- 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); } /**