It has been a long time since I needed to acls but I don’t think they work like that.
Setting an acl on /home/shared
only impacts that directory. Not all the files/directories that were in it previously. You can use -R
to apply the acl to /home/shared
and everything inside it.