CLI: Use a more restrict mode when creating the config directory resursively

refs #10126
This commit is contained in:
Eric Lippmann 2015-12-21 11:12:06 +01:00
parent 594eb366f2
commit a14481a96b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class ConfigCommand extends Command
));
}
if (! file_exists($configDir) && ! @mkdir($configDir, 0777, true)) {
if (! file_exists($configDir) && ! @mkdir($configDir, 0755, true)) {
$e = error_get_last();
$this->fail(sprintf(
$this->translate('Can\'t create configuration directory %s: %s'),