Website error 404 (not found) on internal pages

BTW as a few weeks ago the same site was having 404 error (see 13: Permission denied error in website error logfile) I’ve checked again owners and permissions for website folders…

I’ve noticed:

  1. Owners
    Now the “public_html” folder has “user:www-data” ownership
    However both “/home/user/web” and “/home/user/web/domain” have “user:user” ownership
    Is that ok?

  2. Permissions
    I’ve noticed that the changes I’ve made a few weeks ago to solve the issue mentioned in the previous post, have been rolled back… (missing “read” permissions for the “other” section in all above mentioned folders)
    Is that ok?

Thanks