I have two directories
I have provided permission to www-data using:
chown -R www-data:www-data /home/user1/htdocs/ chmod -R 755 /home/user1/htdocs/
Then used ACL to provide permission to the site user
setfacl -m u:usr1:rwx /home/user1/htdocs/ setfacl -m u:usr1:000 /home/user2/htdocs/
The later one works with permission 000 works but the 1st ACL statement does not work as I could not write to htdocs using user1.