diff --git a/scripts/install b/scripts/install index 61f9753..2d70bcd 100644 --- a/scripts/install +++ b/scripts/install @@ -113,6 +113,7 @@ ynh_add_systemd_config # Set permissions to app files chown -R root: $final_path +chmod -R o-rwx $final_path chown -R $app $final_path/{cache,feed-icons,lock} #================================================= diff --git a/scripts/restore b/scripts/restore index ff0239b..cf843a2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,6 +68,7 @@ ynh_system_user_create --username=$app # Set permissions to app files chown -R root: $final_path +chmod -R o-rwx $final_path chown -R $app $final_path/{cache,feed-icons,lock} #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c0ccfaa..97a44df 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -155,6 +155,7 @@ ynh_add_systemd_config # Set permissions to app files chown -R root: $final_path +chmod -R o-rwx $final_path chmod 0755 $final_path chown -R $app $final_path/{cache,feed-icons,lock}