diff --git a/scripts/install b/scripts/install index 8430a0f..a806f28 100755 --- a/scripts/install +++ b/scripts/install @@ -165,8 +165,8 @@ ynh_script_progression --message="Securing files and directories..." # Set permissions to app files chown -R root: $final_path -chown pepettes:root $final_path -chown pepettes:root $final_path/settings.py +chown $app:root $final_path +chown $app:root $final_path/settings.py chmod o=--- $final_path/settings.py #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0bbe6be..3e02584 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -157,8 +157,8 @@ ynh_script_progression --message="Securing files and directories..." # Set permissions on app files chown -R root: $final_path -chown pepettes:root $final_path -chown pepettes:root $final_path/settings.py +chown $app:root $final_path +chown $app:root $final_path/settings.py chmod o=--- $final_path/settings.py #=================================================