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);
|
fclose($fp);
|
||||||
// We change mod to allow file to be overwritten if dump is launched
|
// We change mod to allow file to be overwritten if dump is launched
|
||||||
// from command line or a web session.
|
// from command line or a web session.
|
||||||
// 0662 = rw-rw--w-
|
// 0662 = rw-rw-rw-
|
||||||
@chmod($file, 0662);
|
@chmod($file, 0666);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user