troubleshooting Question

Linux setfacl directory problems

Avatar of g0all
g0allFlag for Saint Pierre and Miquelon asked on
LinuxLinux SecurityLinux Distributions
2 Comments1 Solution1197 ViewsLast Modified:

I've got a folder with 770 permissions:

stat /var/test2
  File: `/var/test2'
  Size: 4096            Blocks: 16         IO Block: 4096   directory
Device: ca01h/51713d    Inode: 1870464     Links: 2
[b]Access: (0770/drwxrwx---)  Uid: (    0/    root)   Gid: (    0/    root)[/b]
Access: 2012-07-09 14:24:44.000000000 +0300
Modify: 2012-07-09 14:24:32.000000000 +0300
Change: 2012-07-09 14:24:32.000000000 +0300

And I've tried to add recursive read access for user op on the wanted folder:

setfacl -Rm u:op:r /var/test2/

However, when I try to read files in that folder or cd into it, I get the error:
tail: cannot open `test2/test3' for reading: Permission denied

Any input is appreciated!

Thank you!
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros