As noted in the discourse thread on this https://discourse.ubuntu.com/t/private-home-directories-for-ubuntu-21-04-onwards/19533 - I think a similar ACL approach should be able to be used to give the www-data user or similar access to your home dir for ~/public_html or for samba as needed.
As noted in the discourse thread on this https:/ /discourse. ubuntu. com/t/private- home-directorie s-for-ubuntu- 21-04-onwards/ 19533 - I think a similar ACL approach should be able to be used to give the www-data user or similar access to your home dir for ~/public_html or for samba as needed.