summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-06 09:52:22 -0700
committerBart Visscher <bartv@thisnet.nl>2013-04-06 09:52:22 -0700
commit797b529da7aecb5d438e1e7abd530d04c1ff499b (patch)
tree5c47a81132db2ffb8135319665d1ee1fdb3b5f58 /apps
parenta8b366e6128fe81490a7488e594d51dcddeede8b (diff)
parent65529967349aa7114f8632ca417d01e512d1584f (diff)
downloadnextcloud-server-797b529da7aecb5d438e1e7abd530d04c1ff499b.tar.gz
nextcloud-server-797b529da7aecb5d438e1e7abd530d04c1ff499b.zip
Merge pull request #2759 from owncloud/fix-2718
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);
}
/**