Merge pull request #2759 from owncloud/fix-2718

Set file perms to 0640 of mount.json - fixes #2718
This commit is contained in:
Bart Visscher 2013-04-06 09:52:22 -07:00
commit 797b529da7
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ class OC_Mount_Config {
}
$content = json_encode($data);
@file_put_contents($file, $content);
@chmod($file, 0640);
}
/**