diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 3ac89ef7..8578c537 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -1309,7 +1309,7 @@ class m_dom { $db->next_record(); if ($db->f('create_tmpdir')) { if (! is_dir($dest_root . "/tmp")) { - if(!@mkdir($dest_root . "/tmp",0770,true)){ + if(!@mkdir($dest_root . "/tmp",0777,true)){ $err->raise("dom",_("Cannot write to the destination folder")); } }