setup: Do not use umask(0)
chmod is not affected in any way by the umask.
This commit is contained in:
parent
fbe252063b
commit
d3dcf152fb
|
@ -35,9 +35,7 @@ class MakeDirStep extends Step
|
|||
$success = false;
|
||||
} else {
|
||||
$this->errors[$path] = null;
|
||||
$old = umask(0);
|
||||
chmod($path, $this->dirmode);
|
||||
umask($old);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue