aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-04-17 18:51:14 +0200
committeryalh76 <yalh@yahoo.com>2021-04-17 18:51:14 +0200
commit98be88808aa5faa3251065ec09d844e4d10ee43c (patch)
treefac29c17fbcc151050bbb789ffed25b35174f349
parent1684f2cf4d04b2a2f138db6b451af95e9f24c842 (diff)
downloadmastodon_ynh-98be88808aa5faa3251065ec09d844e4d10ee43c.tar.gz
mastodon_ynh-98be88808aa5faa3251065ec09d844e4d10ee43c.tar.bz2
mastodon_ynh-98be88808aa5faa3251065ec09d844e4d10ee43c.zip
Fix rights
-rw-r--r--scripts/install2
-rw-r--r--scripts/restore2
-rw-r--r--scripts/upgrade2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index cf972be..f5da202 100644
--- a/scripts/install
+++ b/scripts/install
@@ -114,7 +114,7 @@ ynh_setup_source --dest_dir="$final_path/live"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
-chown -R $app:$app "$final_path"
+chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
diff --git a/scripts/restore b/scripts/restore
index d6d587a..7a3808b 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -72,7 +72,7 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
-chown -R $app:$app "$final_path"
+chown -R $app:www-data "$final_path"
#=================================================
# SPECIFIC RESTORATION
diff --git a/scripts/upgrade b/scripts/upgrade
index 7122f77..86555dc 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -180,7 +180,7 @@ fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
-chown -R $app:$app "$final_path"
+chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION