Avatar of g0all
g0all
Flag for Saint Pierre and Miquelon asked on

Linux setfacl directory problems

Hi,

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!
LinuxLinux SecurityLinux Distributions

Avatar of undefined
Last Comment
g0all

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
woolmilkporc

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
g0all

ASKER
Excellent! Thanks!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck