Merge pull request #2759 from owncloud/fix-2718
Set file perms to 0640 of mount.json - fixes #2718
This commit is contained in:
commit
797b529da7
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ class OC_Mount_Config {
|
|||
}
|
||||
$content = json_encode($data);
|
||||
@file_put_contents($file, $content);
|
||||
@chmod($file, 0640);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue