From a391eaf240d543101dbced3eb9b187b3ef0713e0 Mon Sep 17 00:00:00 2001 From: zamentur Date: Tue, 10 Jun 2014 23:56:38 +0200 Subject: [PATCH] Fix log file not created. --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2ce0a3d..55ec5c2 100755 --- a/scripts/install +++ b/scripts/install @@ -49,8 +49,8 @@ sudo sed -i "s@yunourl@$domain$path@g" $final_path/variables.php sudo sed -i "s@yunodomain@$domain@g" $final_path/variables.php # Create log file -touch admin/logs_studs.txt -chmod 700 admin/logs_studs.txt +touch $final_path/admin/logs_studs.txt +chmod 700 $final_path/admin/logs_studs.txt # Set permissions to roundcube directory sudo chown -R www-data: $final_path