Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think I rather understand how file permissions work in linux. However, I don't really understand why they are split into three levels and not into two: can anyone explain the rationale for why a single user can own a file? Isn't having group/other permissions enough? With your answer, I'd be happy if you reference to discussions I can read on this topic.

share|improve this question

closed as not constructive by techie007, DragonLord, Indrek, Dave Rook, Renan Oct 8 '12 at 14:17

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers

Surely this is sort of self evident. If I create a file on a multiuser machine, which I want kept private, then I want to be able to specify that in the permissions. This is especially important with user specific data such as private keys.

share|improve this answer
    
It also specifies your own relationship to the file: you can make a file read only if you don't want to change it accidentally (although this doesn't prevent deletion). Or chmod 000 to make it unreadable (mostly useless, except for debugging) –  pjc50 Oct 8 '12 at 13:55
add comment

This is especially important if there are isn’t a specific group for each user (as there is today on, say, Debian, where a group userx is created when userx is created). Furthermore, it allows to give access to both a specific user, who may then give access to another group of which he is not necessarily a member without having to add himself to that group, something that can only be done by root.

share|improve this answer
add comment

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