From 0520035fd9c16f6f8054e756af838dace576f466 Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Fri, 7 Feb 2014 10:30:07 +0000 Subject: [PATCH] FIX pb with apache group's right --- core/trunk/core/docservers_tools.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/trunk/core/docservers_tools.php b/core/trunk/core/docservers_tools.php index d7e3214d46c..04152d8ca7f 100644 --- a/core/trunk/core/docservers_tools.php +++ b/core/trunk/core/docservers_tools.php @@ -472,6 +472,8 @@ function Ds_setRights($dest) ) { exec('chown ' . $GLOBALS['apacheUserAndGroup'] . ' ' . $dest); } + umask(0022); + chmod($dest, 0770); } /** -- GitLab