From c2049d74f7e49c6d8ea99b5ae732fdb65e4dd577 Mon Sep 17 00:00:00 2001 From: scith Date: Mon, 22 Aug 2016 00:09:13 +0200 Subject: [PATCH] Fix permissions --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index ffb019d..9522165 100644 --- a/scripts/install +++ b/scripts/install @@ -38,7 +38,7 @@ version='1.1.0' sudo cp $app_conf $src_path/protected/config/common.php # Set permissions to app files - sudo chown -R root: $src_path + sudo chown -R www-data: $src_path # Cron echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron diff --git a/scripts/restore b/scripts/restore index 35ac392..1f4cb01 100644 --- a/scripts/restore +++ b/scripts/restore @@ -25,7 +25,7 @@ app=$YNH_APP_INSTANCE_NAME sudo cp -a ./cron "/etc/cron.d/${app}" # Restore permissions to app files - sudo chown -R root: $src_path + sudo chown -R www-data: $src_path # MySQL dbname=$app diff --git a/scripts/upgrade b/scripts/upgrade index b72b9cf..ef07eac 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,7 +23,7 @@ version='1.1.0' sudo cp -a humhub-$version/. $src_path # Set permissions to app files - sudo chown -R root: $src_path + sudo chown -R www-data: $src_path # Cron echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron