Lab 13b - samuel-richardson/Sam-Tech-Journal GitHub Wiki

In this lab we changed Linux file permissions.

To display file permissions run the ls -l command in the desired folder to view file permissions. These permissions are show in the terminal with a series of identifying characters. These characters identify if that account can read(r) write(w) or execute(x) where - means the permission is not allowed. the first three of these is the owner of the file, the next is the group associated with the file, then anyone. The names fllowing this are the owner and then the group.

The chmod command is used to change permission on files. The chmod command is used as such chmod <u/g>+_<r/w/x> .This will add or remove permissions.

chown and chgrp are used to change the change the owner of the file and the group of the file respectively. Using the command such as chgrp/chown . This changes who owns the and who group is which can change the permission on the file based on the user and group.

⚠️ **GitHub.com Fallback** ⚠️