diff --git a/core/trunk/core/docservers_tools.php b/core/trunk/core/docservers_tools.php index d7e3214d46ce2657bc77116665e5919c873e0295..04152d8ca7fbaec7a00565eaa2d835ca4f706689 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); } /**