diff --git a/scripts/restore b/scripts/restore index 0449f5b..e76ab8d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -138,6 +138,7 @@ find $datadir/ -type f -print0 | xargs -0 chmod 0640 find $datadir/ -type d -print0 | xargs -0 chmod 0750 chmod 640 "$final_path/config/config.php" chmod 755 /home/yunohost.app +chmod 750 $final_path # Iterate over users to extend their home folder permissions - for the external # storage plugin usage - and create relevant Nextcloud directories