needed umask so that permissions would be accurate

This commit is contained in:
seek3r 2000-10-02 08:30:23 +00:00
parent bdedd300cd
commit 95d93a753f
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@
$basedir = $phpgw_info["server"]["files_dir"] . $sep . "users" . $sep;
umask(000);
if (! @mkdir($basedir . $n_loginid, 0707)) {
// $cd = 36;
} else {

View File

@ -57,6 +57,7 @@
$cd = 31;
umask(000);
if (! @mkdir ($basedir . $n_group, 0707)) $cd = 37;
$phpgw->db->unlock();