diff --git a/modules/setup/application/clicommands/ConfigCommand.php b/modules/setup/application/clicommands/ConfigCommand.php index a1cf3c19a..d3b2900bc 100644 --- a/modules/setup/application/clicommands/ConfigCommand.php +++ b/modules/setup/application/clicommands/ConfigCommand.php @@ -53,9 +53,7 @@ class ConfigCommand extends Command return false; } - $old = umask(0); // Prevent $mode from being mangled by the system's umask ($old) chmod($config, $mode); - umask($old); if (chgrp($config, $group) === false) { $this->fail(sprintf($this->translate('Unable to change the group of "%s" to "%s".'), $config, $group));