Question: a) Consider a file M.txt. What would be the command and the corresponding options/parameters you would pass to have this file be readable by all
a) Consider a file M.txt. What would be the command and the corresponding options/parameters you would pass to have this file be readable by all users (including the owner and his group), writeable only by the owner, and executable by the owner and group? (10 marks)
b) Suppose there exists an executable file N.exe that is owned by the root. How would you setup the permissions for this file so that a regular user and the group to which s/he belongs to can also execute the file with the same privileges that the root has? (10 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
