Skip to content

Welcome-to-GitHub2/File_permissions_in_Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

File_permissions_in_Linux

Lab 3

Description

In this lab, I am learning how to examine and manage file permissions. These skills can be used when configuring user authorization. I am using Linux commands in the Bash shell to complete this lab.

Languages and Utilities Used

  • Bash shell
  • Bash

Environments Used

  • Qwiklabs (Provided by Coursera [Google Cybersecurity course])

Program walk-through:

Launch and Start :
Disk Sanitization Steps Disk Sanitization Steps

Check permissions for files in a directory
1. Navigate to the projects directory.
2. List the contents and permissions of the projects directory.
3. Check whether any hidden files exist in the projects directory.

Disk Sanitization Steps

Check for incorrect file permissions and change permissions as needed
1. Check whether any files in the projects directory have write permissions for the owner type of other.
2. Change the permissions of the "project_k.txt" file so that the owner type of other doesn’t have write permissions
3. List the contents and permissions of the current directory and check if the group has read or write permissions.
4. Change permissions of the "project_m.txt" file so that the group doesn’t have read or write permissions.
5. Check the permissions of the hidden file .project_x.txt
6. Change the permissions of the file .project_x.txt so that both the user and the group can read, but not write to, the file.
Disk Sanitization Steps

Remove unauthorized access to a directory
1. Check the permissions of the drafts directory.
2. Remove the execute permission for the group from the drafts directory.

Disk Sanitization Steps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published