From f80b296a1a2c3535d3069d944b4522590f6190f9 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 27 Jun 2014 08:17:33 -0700 Subject: [PATCH] Make adminer.key group-readable --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);