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