Creating, modifying, and removing file and folder permissions
In this lab, you'll learn the foundations of how managing user permissions work on a Windows machine, as well as, a Linux machine.
โ
Head's up: You'll experience a delay as the labs initially load (particularly for Windows labs). So, please wait a couple of minutes for the labs to load. The grade is calculated when the lab is complete, so be sure to hit "End Lab" when you're done!
Windows Qwiklab
๐ Example 1
You will need to do 5 tasks (Example 1-5) to complete this lab. Each example will showcase how permissions can be changed using Windows PowerShell.
โ
The instructions are pretty straightforward. You can copy & paste the commands onto the VM platform. If for some reason you can't copy & paste, please just type in the command.
๐ Example 2
For this task, you will give "Phoebe" permission to access a "Secret" folder.
๐ Example 3
The third task will have you change permission to a group ("Everyone") for the "Music" folder.
๐ Example 4
Give "Authenticated Users" "Write" access to the "not_so_important_document."
๐ Example 5
In this final task, you will change the permissions of a file named "public_document" to be made publicly readable.
Linux Qwiklab
๐ Modifying permissions on "important_document"
For the Linux version, you will need to complete 5 tasks in order to complete the lab.
Modify permission of a file
Modify the permission of a folder
Change the owner of a folder
Change permission of document
Change owner of a document
The first task will have you change file permissions using the sudo chmod command.
๐ Modify permissions on "secret_folder"
Here you will change the permission of "secret_folder"
๐ Change owner of "Taco"
This task will have you change the owner of the folder named "Taco."
๐ Change permissions of "not_so_important_document"
This will have you change permissions of a file named "not_so_important_document"
โ
It shows you the steps on how to individually change the permissions (Owner, User, and Group).
โ
You can accomplish the same result by using the numerical argument to set the permissions. Here's the command that meets all three criteria at once:
โ
โsudo chmod 764 not_so_important_document
๐ Change owner of "public_document"
The final task will have you open the permissions to the "public_document"
โ
You can use the numeric argument or the traditional way of changing permissions.















