From 4d05407b0850bc0e693364aab79aa56a67e42365 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 28 Aug 2011 15:11:36 +0000 Subject: [PATCH] Sec: Fix mask for temp created files --- htdocs/core/class/rssparser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/rssparser.class.php b/htdocs/core/class/rssparser.class.php index 4d1e91e5837..90a2f70550a 100755 --- a/htdocs/core/class/rssparser.class.php +++ b/htdocs/core/class/rssparser.class.php @@ -91,7 +91,7 @@ class RssParser $this->_urlRSS = $urlRSS; $newpathofdestfile=$cachedir.'/'.md5($this->_urlRSS); - $newmask=octdec('0644'); + $newmask='0644'; //dol_syslog("RssPArser::parser parse url=".$urlRSS." => cache file=".$newpathofdestfile); $nowgmt = dol_now();