From dc0b7da9a997a405e778e59e388ae682c3f336ad Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 7 Sep 2008 10:24:41 +0000 Subject: [PATCH] We change mod to allow file to be overwritten if dump is launched from command line or a web session. --- htdocs/lib/ldap.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/ldap.class.php b/htdocs/lib/ldap.class.php index 7884864b8d0..34f67fd5769 100644 --- a/htdocs/lib/ldap.class.php +++ b/htdocs/lib/ldap.class.php @@ -599,8 +599,8 @@ class Ldap fclose($fp); // We change mod to allow file to be overwritten if dump is launched // from command line or a web session. - // 0662 = rw-rw--w- - @chmod($file, 0662); + // 0662 = rw-rw-rw- + @chmod($file, 0666); return 1; } else