diff --git a/scripts/install b/scripts/install index 55ab5a7..235d27a 100644 --- a/scripts/install +++ b/scripts/install @@ -220,8 +220,7 @@ ynh_store_file_checksum --file="$final_path/config/config.inc.php" #================================================= # Set permissions to app files -chown -R root:$app "$final_path" -chmod -R o-rwx "$final_path" +chown -R root: "$final_path" mkdir -p "$final_path/plugins/enigma/home" chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home} diff --git a/scripts/restore b/scripts/restore index 5dd4faf..86386d8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,8 +68,7 @@ ynh_restore_file --origin_path="$final_path" #================================================= # Restore permissions on app files -chown -R root:$app "$final_path" -chmod -R o-rwx "$final_path" +chown -R root: "$final_path" mkdir -p "$final_path/plugins/enigma/home" chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home} diff --git a/scripts/upgrade b/scripts/upgrade index b02701a..d984a9a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -277,8 +277,7 @@ fi #================================================= # Set permissions to app files -chown -R root:$app "$final_path" -chmod -R o-rwx "$final_path" +chown -R root: "$final_path" mkdir -p "$final_path/plugins/enigma/home" chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}