]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set file perms to 0640 of mount.json - fixes #2718
authorLukas Reschke <lukas@statuscode.ch>
Sat, 6 Apr 2013 10:21:21 +0000 (13:21 +0300)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 6 Apr 2013 10:21:21 +0000 (13:21 +0300)
apps/files_external/lib/config.php

index 11d24045fd9012fc76dbd53e5bff837c61b5b780..01462cb6f8522d62500adeb7288303896d29df2b 100755 (executable)
@@ -339,6 +339,7 @@ class OC_Mount_Config {
                }
                $content = json_encode($data);
                @file_put_contents($file, $content);
+               @chmod($file, 0640);
        }
 
        /**