- Bash shell
- Bash
- Qwiklabs (Provided by Coursera [Google Cybersecurity course])
Launch and Start :
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.
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.
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.