From d4c3a49bc385d23b80fa954f08df3d7a48e57d95 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 9 Apr 2014 15:02:25 +0000 Subject: [PATCH] Set the file permissions on for the sqlite database so it will work better with the Debian package --- resources/install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/install.php b/resources/install.php index a922f257eb..07336ab20a 100644 --- a/resources/install.php +++ b/resources/install.php @@ -536,6 +536,9 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist } unset ($file_contents, $sql); $db_tmp->commit(); + + //set the file permissions + chmod($db_path.'/'.$db_name, 0777); } //create the pgsql database