optimize your life.

There are so many features of Linux that have made this operating system so popular among the users, but, the fact that it makes the system so secure, is definitely a plus point for the same. Well, through the permission system of the same, Linux is able to secure the machines. It is possible for you to have control over all the files present in your system and assign permissions to groups, users and everyone else as well. There is a terminal utility known as “chmod” available in Linux. This helps you to control all the various types of permissions in your Linux based system. Through this article, I’ll try to help you understand how the permission system in the Linux operating system works:

Linux - 1

To understand the mechanics of the Linux permission system, there is a lot of information which you’ll need to know about. If you are a starter, you should go through the 40 terminal commands to make yourself familiar with all these before you actually dive in to understand things in a better way.

The file and directory permissions can be assigned to three different categories: the group, the user and everyone else. A file or a directory is thereby owned by a particular user or group and you cannot leave these fields empty. If a user owns a file, the group name is generally same with the username of that user.

Linux - 2

There are 3 different permissions that you can assign and those are: read, write and execute:

Read (4 – ‘r’)

Write (2 – ‘w’)

Execute (1 – ‘x’)

The letters r, w, x and the numbers 4, 2, 1 make the different ways through which you can assign permissions to a category.

With read access, one can read content of a file and even copy the same if they wish to. If it’s write access, a user can overwrite the content of the file partially or completely. With execute access; it is possible for a user to execute that file, no matter what the file type is.

404 Not Found

404 Not Found