From 65529967349aa7114f8632ca417d01e512d1584f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 6 Apr 2013 13:21:21 +0300 Subject: [PATCH] Set file perms to 0640 of mount.json - fixes #2718 --- apps/files_external/lib/config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 11d24045fd..01462cb6f8 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); } /**