Skip to main content

Users and Permissions

Admissions Team avatar
Written by Admissions Team
Updated over 3 months ago

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.

  1. Modify permission of a file

  2. Modify the permission of a folder

  3. Change the owner of a folder

  4. Change permission of document

  5. 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.

πŸ“Œ Additional help

If you need additional help please attend the Tech Sessions (Thursdays 10 am EST and 6 pm EST) or collaborate with your fellow learners in the tech chat via Slack!
​
You can also reach our tech trainers via Calendly (Edison or Vanessa) for a 1:1 session.

Did this answer your question?