changing rights for others when creating directory

This commit is contained in:
Steven Mondji-Lerider 2012-09-21 09:03:11 +00:00
parent e76558c808
commit eb02e168a2
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ class m_dom {
$dirr=$dest_root.$dest;
if (! is_dir($dirr)) {
$old = umask(0);
if(!mkdir($dirr,0777,true)){
if(!mkdir($dirr,0770,true)){
$err->raise("dom",_("I can't write to the destination folder"));
}
umask($old);