Friday, June 8, 2012

[Linux] permissions modification

When working on a server shared with other users, it seems suitable to restrict the access to personal files/directories.

The use of the command "chmod" can trigger rights for execution (+1), writing (+2) and reading (+4). Three perimeters are considered: the user (1st digit) , the usersgroup (2nd), everybody (3rd).

If one wants to restrict the access to his directory /home/MyRep for himself only, the command is then "chmod -R 700 /home/MyRep".

Ubuntu Linux distribution:
http://www.ubuntu.com/

No comments:

Post a Comment