-->

What do you understand by File modes in Unix?

Unix enables the user to set the desired level of privacy. It allows the user to set the access permission of the file. This is know as the file mode of a file.


The file permissions of file are displayed in the form :



The letters r means read, w means write and x means execute.
When the permission of a file is set by the user it is necessary to classify the users into three categories:

- Owner: the user who creates the file.
- Group: other users having the same permissions as the group owner.
- other: all other users.

In the text drwxrwxrw the d letter signifies the directory.
Following the d letter the next three letters specify the permissions of the owner. the next three specify the permissions of the group. The last three characters specify the permissions of the other users.