Linux File Permissions & Access Control Query
Posted
by Jason
on Stack Overflow
See other posts from Stack Overflow
or by Jason
Published on 2010-05-08T21:53:45Z
Indexed on
2010/05/08
21:58 UTC
Read the original article
Hit count: 124
Hi,
Lets say I am user: bob & group: users.
There is this file: -rw----r-- 1 root users 4 May 8 22:34 testfile
First question, why can't bob read the file as it's readable by others? Is it simply that if you are denied by group, then you are auto-blacklisted for others? I always assumed that the final 3 bits too precedence over user/group permission bits, guess I was wrong...
Second question, how is this implemented? I suppose it's linked to the first query, but how does this work in relation to Access Control, is it related to how ACLs work / are queried? Just trying to understand how these 9 permission bits are actually implemented/used in Linux.
Thanks alot.
© Stack Overflow or respective owner