3

I have a folder with UNIX rights that forbid access to me :

ls -l Sources-labo
drwxrwxrw-+ 6 nobody    applications 73728 févr. 25 13:25 Sources-labo

groups
users vault

but the ACL are set so that I should have access anyway (because of the group:users:rwx rule) :

getfacl Sources-labo/
# file: Sources-labo/
# owner: nobody
# group: applications
user::rwx
group::rwx
group:users:rwx
mask::rwx
other::rw-

However I cannot access this directory :

cd Sources-labo/
bash: cd: Sources-labo/: Permission denied

I read that the ACLs are supposed to override UNIX rights. How come I can't access this directory ?

migrated from serverfault.com Mar 4 '14 at 13:56

This question came from our site for system and network administrators.

  • Are you a member of the group "users" ? Verify: getent group `id -G` This will print out what groups the current user is included in. – tore- Feb 26 '14 at 12:30
  • users appears in the list. Plus, I showed the output of groups in the first code sample – user201680 Feb 27 '14 at 14:10
  • Strange...should work so...What is your OS ? – user2196728 Feb 28 '14 at 7:47
  • 1
    Perhaps the filesystem is mounted so it doesn't respect ACLs (option noacl, just running mount should tell)? Perhaps something else, like SELinux, is denying access? – vonbrand Mar 4 '14 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.