From 55964265b25f7db4c774860e589f664439473e77 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 17 Apr 2021 08:42:30 +0200 Subject: [PATCH] Change permission --- 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 75dfbf2..04fd245 100755 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,7 @@ ynh_add_config --template="../conf/groupname.json" --destination="$final_path/gr # Set permissions to app files chown -R $app: $final_path -chmod -R 755 $final_path +chmod -R 750 $final_path #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/restore b/scripts/restore index e956caf..27da783 100755 --- a/scripts/restore +++ b/scripts/restore @@ -72,7 +72,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" # Restore permissions on app files chown -R $app: $final_path -chmod -R 755 $final_path +chmod -R 750 $final_path #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 0c3ceaf..a42eb52 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -146,7 +146,7 @@ ynh_add_systemd_config # Set permissions on app files chown -R $app: $final_path -chmod -R 755 $final_path +chmod -R 750 $final_path #================================================= # INTEGRATE SERVICE IN YUNOHOST