From: Jakub Vrana Date: Wed, 24 Jan 2018 11:11:26 +0000 (+0100) Subject: Allow using adminer.invalid by other users in a group X-Git-Tag: v4.5.0~12 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=b15618fcfde01b80484f7660bfc2c66687d69bd6;p=adminer.git Allow using adminer.invalid by other users in a group --- diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index d1e546bb..67f948b1 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1142,6 +1142,7 @@ function file_open_lock($filename) { if (!$fp) { return; } + chmod($filename, 0660); } flock($fp, LOCK_EX); return $fp;