mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Make adminer.key group-readable
This commit is contained in:
@@ -1085,7 +1085,7 @@ function password_file($create) {
|
||||
}
|
||||
$fp = @fopen($filename, "w"); // @ - can have insufficient rights //! is not atomic
|
||||
if ($fp) {
|
||||
chmod($filename, 0600);
|
||||
chmod($filename, 0660);
|
||||
$return = rand_string();
|
||||
fwrite($fp, $return);
|
||||
fclose($fp);
|
||||
|
Reference in New Issue
Block a user