Link to home
Start Free TrialLog in
Avatar of g0all
g0allFlag for Saint Pierre and Miquelon

asked on

Linux setfacl directory problems


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

Open in new window

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

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

Open in new window

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

Open in new window

Any input is appreciated!

Thank you!
Avatar of woolmilkporc
Flag of Germany image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of g0all


Excellent! Thanks!