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:
parent
7535c7cdb9
commit
dc0b7da9a9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user