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