2) Suppose you have a directory named MyStuff in your working directory. Specify
ID: 3602550 • Letter: 2
Question
2) Suppose you have a directory named MyStuff in your working directory. Specify the command(s) you would use to do the following. (8 points a) Give everyone permission to list files in MyStuff, do not change any other privileges b) Permit the owner and group members to list, remove, or add files; remove all privilege from everyone else. c) Remove writing privileges from everyone but the owner. d) Give the Owner and group members permissions to execute MyStuff while giving the owner sole permission to read and write it.Explanation / Answer
4 stands for "read",[r]
2 stands for "write",[w]
1 stands for "execute", [x]
USER[u]
GROUP[g]
ANYONEELSE[o]
[1] chmod o+r MyStuff
[2] chmod 770 MyStuff
[3] chmod ugo-r MyStuff
[4] chmod 710 MyStuff
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.