Question: 1.) Under the current directory (i.e. $HOME/a3/), create a file test.txt with permissions rw-r-xr--, specify the chmod command required to change from rw-r-xr-- to rwxrwxrwx
1.) Under the current directory (i.e. $HOME/a3/), create a file test.txt with permissions rw-r-xr--, specify the chmod command required to change
- from rw-r-xr-- to rwxrwxrwx using the relative method
- from rw-r-xr-- to r--r----- using the relative method
- from rw-r-xr-- to ---r--r-- using the absolute method
- from rw-r-xr-- to --------- using the absolute method
2.) Under the current directory (i.e. $HOME/a3/), use chmod x . (pay attention to the .) to change permissions on the $HOME/a3/ directory. Then try to create and remove a file in the current directory. What happens and why? How do you add the x permission back to the a3 directory? (Please show command + output)
3.) Under the current directory (i.e. $HOME/a3/), create a file with permission 000, you may or may not be able to delete the file. Explain how both situations can happen by showing an example of each. (Please show command + output)
Can someone please answer the following questions. Please make sure to show commands and outputs. I will give upvote if questions are answered completely and correctly. Thank you in advance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
