Understanding Linux File Permissions

IP unreachables

A trivial topic. But some things are not like riding a bicycle, so it’s better repeating them over and over again.

To start with, let’s take a look of the output ( ls -l lists all files in a directory, giving you details about the size and the permissions) :lsl

First column: shows permissions in the order:
*Special permissions ( 1 field) – in the case of the cats file it is “d”, which actually means that cats is not a file but a directory
*Owner permissions ( 3 fields) –
the owner of the file. It can be it’s creator, or it can be manually modified. 
*Group permissions (3 fields) 

*Other’s permissions (3 fields) –
all the rest users and applications

Second column: Owner’s username – In the case of cat.txt file it is cat.
Third column: Group’s name –
 in the case of cat.txt is fefe

Special permissions.

View original post 307 more words


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s