Question: Assignment Instructions: 1 . Explain Basic Linux File Permissions: - Define the three levels of ownership: Owner ( user ) , Group and Others -
Assignment Instructions:
Explain Basic Linux File Permissions:
Define the three levels of ownership: Owner user Group and Others
Explain read r write w and execute xpermissions for files and directories.
What does each permission mean when applied to filesvs directories?
Ownership and Permissions of Files and Directories:Explain how to change ownership using
Explain how to change ownership of filesdirectories
Show how to use the symbolicand octalmethods to change file permissions with the chmodcommand
Special Permissions:
Sticky Bit:
Explain the sticky bitand its purpose.Describe how it works with directories egtmp ensuring only theownercan delete files within the directory.
Setuidand Setgid:
Define setuidand setgidbits
Explain their usage with executablesand directories.
Hands on Task:
Create a directoryand experimentwith the following:
Set the sticky bit, setuid, and setgid on the directory.
Create files inside the directory with different umask values.
Modify permissions using both symbolic and octal representations.
Test what happens when users with different permissions try to access or delete the files.
Document your process and observations:
Include the commands used.
Provide screenshots or text output showing the result of your experiments.
Screen shot must show all commands and output
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
