From b15618fcfde01b80484f7660bfc2c66687d69bd6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 24 Jan 2018 12:11:26 +0100 Subject: [PATCH] Allow using adminer.invalid by other users in a group --- adminer/include/functions.inc.php | 1 + 1 file changed, 1 insertion(+) 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;