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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!