changing rights for others when creating directory
This commit is contained in:
parent
e76558c808
commit
eb02e168a2
|
@ -943,7 +943,7 @@ class m_dom {
|
||||||
$dirr=$dest_root.$dest;
|
$dirr=$dest_root.$dest;
|
||||||
if (! is_dir($dirr)) {
|
if (! is_dir($dirr)) {
|
||||||
$old = umask(0);
|
$old = umask(0);
|
||||||
if(!mkdir($dirr,0777,true)){
|
if(!mkdir($dirr,0770,true)){
|
||||||
$err->raise("dom",_("I can't write to the destination folder"));
|
$err->raise("dom",_("I can't write to the destination folder"));
|
||||||
}
|
}
|
||||||
umask($old);
|
umask($old);
|
||||||
|
|
Loading…
Reference in New Issue