Tuesday, April 14, 2015

Day 11: The Linux Command Line Ch9 Notes


Chapter 9 - Permissions

Commands:
umask – Set the default file permissions
su – Run a shell as another user
sudo – Execute a command as another user
chown – Change a file's owner
chgrp – Change a file's group ownership
passwd – Change a user's password

Today was a bit of a hectic day. Fortunately the chapter 9 is rather straightforward. However, there is one thing that is very often confused: what a particular permission does for the file and what it does for the directory. In order to remember that, here is the Williams Shott's explanation of the permissions: