From 09cb54311119f72ef8700b5f405a42c5f2edf1e7 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 18 Oct 2013 09:27:41 +0000 Subject: [PATCH] fixes #1499 chmod 777 tmp --- bureau/class/m_dom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } }