I have a folder like:

drwx--xrwx  9 user group 4096 May  1 11:17 160429_ST-E00110_0195_AHMFVNCCXX

However my user other can't do ls:

-bash-4.1$ ls 160429_ST-E00110_0195_AHMFVNCCXX
ls: cannot open directory 160429_ST-E00110_0195_AHMFVNCCXX: Permission denied

other is neither member of the group nor owner of the files

I thought that the last 3 bits describes the permission for any other user

Any idea what is wrong?

  • Is other member of group? May 2 '16 at 14:30
  • @ArkadiuszDrabczyk, other is neither member of the group nor owner of the files
    – masber
    May 2 '16 at 14:37
  • What are the permissions on each parent directory of that directory? Also, selinux, or possibly those POSIX-acls-that-are-not-POSIX, though that usually fancies up the ls listing.
    – thrig
    May 2 '16 at 15:50
  • @thrig Since the user seems to have cd'ed to the parent directory, he apparently has appropriate permissions to it.
    – Barmar
    May 2 '16 at 22:00
  • 2
    I suspect the user really is a member of the group. Maybe it's one of their secondary groups. What does the id command say?
    – Barmar
    May 2 '16 at 23:46

drwx--xrwx this means that d is directory the rwxis that this the owner of this direcotry has read/write/execute permitions the next --x is that the users that belong to the group that owns this directory have execute permitions and the last rwx everyone else (not the owner of directory or any member of the owner group of directory can read/write/execute inside the directory
Based on the information you provided and the comments that user "other" is nor owner of the directory nor part of owner group of the directory you will yo provide more information as it should be working.

  • You're right, but it doesn't really explain to the OP in the context of their question why their particular user can't list the directory.
    – roaima
    Jul 12 '16 at 14:03

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.