Configure Permissions in Linux

This time we are going to have a look at Linux program authorizations. Every current os offers with authorizations, whether it is possession of a computer file or just getting study entry to a listing. As with everything else in Linux program there are control range resources and the gui so we shall discuss both.

The Chown Utility

This is a control range tool that offers with the possession of a computer file or listing. Start up a terminal and change to main. Look at the listing which contains the computer file / listing you want to modify and type:

chown [username][file /folder]

So for example if I desired to modify the proprietor of a computer file known as resources to natasha and it was situated in /home/chris I would type:

cd /home/chris

chown natasha tools

To check who operates a particular computer file / listing you can get around to the listing that contains the computer file / listing and type:

ls -l

The Chmod Utility

Next up is the chmod application which offers with authorizations themselves. Start up a terminal and change to main. Look at the listing which contains the computer file / listing you want to modify and type:

chmod [777][file / folder]

Lets first explain the numbering program above. There are three types of authorizations in Linux program - Read, Create and Perform which are given principles of 4, 2 and 1 respectively. So in the format above the computer file would be given Read (4), Create (2) and Perform (1) authorizations (4+2+1 = 7). But don't you give authorizations to individuals and not data files or folders? Correct, that is why there are three numbers which signify the proprietor, team and others. Allows take an example to demonstrate the point. Say I desired to modify the authorizations of a computer file known as resources.doc to proprietor (rwe), team (rw) and others (r) and it was situated in /home/chris I would type:

cd /home/chris

chmod 764 resources.doc

This gives the proprietor (rwe = 7) team (rw = 6) and others (r=4) different levels of entry to the computer file.

Graphical Means of Modifying Permissions and Ownership

For individuals who don't want to use the control range there is another way to do all this. I shall demonstrate this using Linux program Great 9. Locate the computer file you want to improve by using your computer file manager. Right just click and go to look at as main. In Linux program Great 9 the background will go red when a computer file is open as main. Right just click and go to qualities. On the qualities page you will be given the option of changing authorizations for the proprietor, team and others along with changing the proprietor of the computer file. Change accordingly.
siege auto