Linux: Assume that Share and Secret are both seperate directories in your home d
ID: 665969 • Letter: L
Question
Linux:
Assume that Share and Secret are both seperate directories in your home directory:
a) What is the appropriate permission setting for your home directory to allow access to your Share directory? Assume they know Share is right under home directory. (Hint: you don't want them to ls your home directory)
b) What is the appropriate permission setting for your Secrets directory to deny access to files within that directory, even when those files are readable?
c) What is the appropriate permission setting for your Share directory to allow other users to ls your Share directory when THEY CAN NOT ls your home directory?
Please list the answer as a chmod command.
Explanation / Answer
a) Permission that should be given to home directory to allow access to Share directory:-
b) Permission that should be given to Secret directory to deny access to files within that directory, even when those files are readable:-
r-- r-- r-- or 100 100 100 or 444
c) Appropiate permission setting for Share directoy to allow other users to ls the Share directory when they cannot ls the home directory:-
rwxr-xr-x
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.