diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -175,7 +175,16 @@ chmod u=rw,g=r,o= test1 -rw-r----- 1 mokha staff 0B 18 May 18:17 test1 ``` -10. The user ‘sarwar’ sets access permissions to his home directory by using the command chmod 700 $HOME. If the file cp.new in his home directory has read permissions to 777, can anyone read this file? Why or why not? Explain your answer. +10. The user ‘sarwar’ sets access permissions to his home directory by using the command chmod 700 $HOME. +If the file cp.new in his home directory has read permissions to 777, can anyone read this file? Why or why not? Explain your answer. + +Yes. The final seven in the permissions means read, write, execute +for all other users. + +| Read (4) | Write (2) | Execute (1) | +| ------------- | ------------- | +| x | x | x | + 11. What is the effect of each command? Explain your answers. a. chmod 776 ∼/lab5 b. chmod 751 ∼/lab? |
