SFTP access with EE4

I used to config the sftp access like this: https://easyengine.io/tutorials/linux/setup-sftp

Now the files are inside the /opt/easyengine/sites and these folders do not have permission for the www-data user.

What’s the best way to address this issue?