diff --git a/scripts/restore b/scripts/restore index 523831b..8fbcb19 100755 --- a/scripts/restore +++ b/scripts/restore @@ -87,7 +87,7 @@ ynh_restore_file --origin_path="/usr/bin/$app" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chown -R $app: $data_path +chown -R $app: "/home/yunohost.app/$app" chmod +x /usr/bin/$app #=================================================