Tomoko's Blog

Originally I made this blog to communicate with with my friends I made with in London . I arrived in London at 14th April 2005 and this is my start studying here. I like computer staff and would like to develop knowledge in that field . I am getting some knowledge from my friends who are so much in that field. So I would like to try what I get and put them on this blog which is useful and understandable for non computer expert person besides my personal diary.

Free Counter

Wednesday, February 14, 2007

/computer/linux file system 2


We already know that one of th main advantages of Linux file system is the ability to regulate ownership of each directory and each file. The permissions system is, at the same time, very flexible. Today we shall see why.
For a file apart from its user owner there is also a group owner.In other words, each file is owned by one user and one or more groups of users. Any users can be organized in groups. Each group can have its own name. Groups and group names are defined by the superuser - the root.We shall see how to define a group later.
User owner and group owner may be unrelated. For example, a file is owned by user "tomoko" and group "students", but, at the same time, "tomoko" not necessary needs to be a member of group "students" to own a file. Note that a user not necessary needs to be a part of any group. Same way, a user also can belong to several groups simultaneously. Usage of groups allows a very convenient way of permission control. For example, if I want some files to be available to several people I just need to create a new group and add them to the group. After that I can make this group own the files I want.
For each file and directory there are three basic ways how a user can access them: read, write and execute. Directories are also kind of files.

0 Comments:

Post a Comment

<< Home