How to apply acl?

hi,
i am facing problem with acls,
as a root i logged in and applied acl for directory(dir5),by using command
setfacl -m u:user1:rwx dir5
but when i logged in as user1 i am not able to access that folder even though i applied full permission to that directory as a root.can any one help me on this.....

Please paste the output of

getfacl dir5

# as user1
cd dir5

Hi,
actually prblm has been resolved.
actually i created dir5 in /root and applied acl to it..
but when i logged in as user1 ,,this user doesnt have permission togo iside the root directory so its showing permission denied..
Anyway thanks frank_rizzo for ur support...
:slight_smile: