diff --git a/admin/newaccount.php b/admin/newaccount.php index 9c54f935f2..1adb1e8a79 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -81,6 +81,7 @@ $basedir = $phpgw_info["server"]["files_dir"] . $sep . "users" . $sep; + umask(000); if (! @mkdir($basedir . $n_loginid, 0707)) { // $cd = 36; } else { diff --git a/admin/newgroup.php b/admin/newgroup.php index 1ec3dfbc9e..d36cdbced8 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -57,6 +57,7 @@ $cd = 31; + umask(000); if (! @mkdir ($basedir . $n_group, 0707)) $cd = 37; $phpgw->db->unlock();