We change mod to allow file to be overwritten if dump is launched from command line or a web session.

This commit is contained in:
Laurent Destailleur 2008-09-07 10:24:41 +00:00
parent 7535c7cdb9
commit dc0b7da9a9

View File

@ -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