Question: Project 4 - 7 ESTIMATED TIME: 3 0 minutes OBJECTIVE: Set access permissions. DESCRIPTION: In this hands - on project, you apply and modify access

Project 4-7
ESTIMATED TIME: 30 minutes
OBJECTIVE: Set access permissions.
DESCRIPTION: In this hands-on project, you apply and modify access permissions on files and directories and test their effects.
1
Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!.
2
At the command prompt, type touch permsample and press Enter. Next, type chmod 777 permsample at the command prompt and press Enter.
3
At the command prompt, type ls -l and press Enter. Who has read, write, and execute permissions to this file?
4
At the command prompt, type chmod 000 permsample and press Enter. Next, type ls l at the command prompt and press Enter. Who has read, write, and execute permissions to this file?
5
At the command prompt, type rm f permsample and press Enter. Were you able to delete this file? Why?
6
At the command prompt, type cd / and press Enter. Next, type pwd at the command prompt and press Enter. Type ls F at the command prompt and press Enter. Note the directories you see under the /.
7
At the command prompt, type ls l and press Enter to view the owner, group owner, and permissions on the foruser1 directory created in Hands-On Project 4-1. Who is the owner and group owner? If you were logged in as the user user1, in which category would you be placed (user, group, other)? What permissions do you have as this category (read, write, execute)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!