mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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;
|
$success = false;
|
||||||
} else {
|
} else {
|
||||||
$this->errors[$path] = null;
|
$this->errors[$path] = null;
|
||||||
$old = umask(0);
|
|
||||||
chmod($path, $this->dirmode);
|
chmod($path, $this->dirmode);
|
||||||
umask($old);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user