Skip to content
Snippets Groups Projects
Commit 65529967 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Set file perms to 0640 of mount.json - fixes #2718

parent e91e8b11
No related branches found
No related tags found
No related merge requests found
......@@ -339,6 +339,7 @@ class OC_Mount_Config {
}
$content = json_encode($data);
@file_put_contents($file, $content);
@chmod($file, 0640);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment