forked from extern/egroupware
needed umask so that permissions would be accurate
This commit is contained in:
parent
bdedd300cd
commit
95d93a753f
@ -81,6 +81,7 @@
|
||||
|
||||
$basedir = $phpgw_info["server"]["files_dir"] . $sep . "users" . $sep;
|
||||
|
||||
umask(000);
|
||||
if (! @mkdir($basedir . $n_loginid, 0707)) {
|
||||
// $cd = 36;
|
||||
} else {
|
||||
|
@ -57,6 +57,7 @@
|
||||
|
||||
$cd = 31;
|
||||
|
||||
umask(000);
|
||||
if (! @mkdir ($basedir . $n_group, 0707)) $cd = 37;
|
||||
|
||||
$phpgw->db->unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user