OpenSource For You

Effects of permission­s on files

-

By default, the user name is the user owner and owner group of a file’s contents. In the above examples, the user shobhit was logged in and created the file f_shobhit, so automatica­lly shobhit becomes the user owner and owner group. To discuss the effects of permission­s, file f_shobhit is moved to a directory /home/Common such that permission­s 777 are implemente­d on the Common directory. This is done so that all the members of the group and other users can have access to the file.

Let us clear all the permission­s from the file (leaving the right side of the permission assignment expression blank will do the trick). Then the step-by-step effects of permission­s will be elaborated by assigning one permission at a time.

Newspapers in English

Newspapers from India