From: Jakub Vrana Date: Fri, 27 Jun 2014 15:17:33 +0000 (-0700) Subject: Make adminer.key group-readable X-Git-Tag: v4.2.0~60 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=f80b296a1a2c3535d3069d944b4522590f6190f9;p=adminer.git Make adminer.key group-readable --- diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 7cbbc599..a60eff99 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -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);