From 9b711d827dd20bcac2bc25a4682a8754f9954014 Mon Sep 17 00:00:00 2001 From: mokha Date: Sat, 18 May 2019 18:35:49 -0600 Subject: complete exercise --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f945757..92bf31d 100644 --- a/README.md +++ b/README.md @@ -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? -- cgit v1.2.3