Section outline
-
Unix-based operating systems offer a notion of file and folder "ownership" that allows you to control who can access your files and folders, and in which ways.
This is especially important when using a filesystem that is shared between multiple users, such as in our very own aquarium environment.Relevant links:
Unit playlist
-------------------
We will learn about Linux users, superusers and groups and how to use 'su', 'adduser', 'passwd', and 'group'.
Note: 'group' is not a standard Linux command, and probably will not work on local Linux installations. -
We will learn about file ownership and how to transfer it using 'chown' and 'chgrp'.
-
We will learn about read, write and execute permissions for files and folders.
-
A very short quiz on users, ownership and basic permissions.
-
We will learn how to change permissions using 'chmod'.
Optional reading material:
Permissions cheatsheet -
We will learn how to share files using 'chmod' and 'chgrp'.
-
Permissions are a very important concept! Here is a very fun quiz on the subject.
-
Meme for finishing this unit Page
Once you finish this unit, you'll be able to open this page and see a meme!
-