Question: At the command prompt, type touch / public / user 1 file and press Enter. Next, type ls - l / public at the command
At the command prompt, type touch publicuserfile and press Enter. Next, type ls l public at the command prompt and press Enter. What files exist in this directory and who are the owners?
At the command prompt, type rm publicuserfile and press Enter. Were you prompted to confirm the deletion of the file?
At the command prompt, type rm publicrootfile and press Enter. Note the error message that you receive because of the sticky bit.
Type exit and press Enter to log out of your shell.
Switch to a commandline terminal tty by pressing CtrlAltF and log in to the terminal using the user name of root and the password of LINUXrocks!.
At the command prompt, type touch aclfile and press Enter. Next, type getfacl aclfile at the command prompt and press Enter. Are there any additional entries beyond user, group, and other?
At the command prompt, type setfacl m u:user:r aclfile and press Enter. Next, type ls l aclfile at the command prompt and press Enter. Is there a symbol following the mode? Next, type getfacl aclfile at the command prompt and press Enter. Explain the permissions. When would this permission set be useful?
At the command prompt, type setfacl b aclfile and press Enter. Next, type ls l aclfile at the command prompt and press Enter. Is there a symbol following the mode?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
