Make adminer.key group-readable

This commit is contained in:
Jakub Vrana 2014-06-27 08:17:33 -07:00
parent 52eee61247
commit f80b296a1a

View file

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