From 9f7badfdd0d5e43b50d2c54a0c8d72441c909683 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Aug 2021 15:08:09 +0200 Subject: [PATCH] Revert "Add rights" This reverts commit 7fafb515d11c5276d511427efdcd156863837c44. --- scripts/install | 1 - scripts/restore | 1 - scripts/upgrade | 1 - 3 files changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index c9e824a..c36b120 100755 --- a/scripts/install +++ b/scripts/install @@ -306,7 +306,6 @@ ynh_multimedia_addaccess $app # Fix app ownerships & permissions chown -R $app: "$final_path" "$datadir" -chmod -R o-rwx "$final_path" find $final_path/ -type f -print0 | xargs -0 chmod 0644 find $final_path/ -type d -print0 | xargs -0 chmod 0755 find $datadir/ -type f -print0 | xargs -0 chmod 0640 diff --git a/scripts/restore b/scripts/restore index 72a5e47..44f8384 100755 --- a/scripts/restore +++ b/scripts/restore @@ -134,7 +134,6 @@ mkdir -p "$datadir" # Fix app ownerships & permissions chown -R $app: "$final_path" "$datadir" -chmod -R o-rwx "$final_path" chmod 640 "$final_path/config/config.php" chmod 755 /home/yunohost.app diff --git a/scripts/upgrade b/scripts/upgrade index a53ffce..8968143 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -425,7 +425,6 @@ exec_occ background:cron # Fix app ownerships & permissions chown -R $app: "$final_path" "$datadir" -chmod -R o-rwx "$final_path" find $final_path/ -type f -print0 | xargs -0 chmod 0644 find $final_path/ -type d -print0 | xargs -0 chmod 0755 find $datadir/ -type f -print0 | xargs -0 chmod 0640