Question: 2. (10 pts) Let p and q be two processes, and f a file. Consider the set of rights read, write, execute, append, list, modify,

2. (10 pts) Let p and q be two processes, and f a file. Consider the set of rights read, write, execute, append, list, modify, own). Using the primitives described in class, write a command delete_all_rights (p, q, f) satisfying ALL 3 conditions below: a. The command causes p to delete all rights the subject q has over f b. p has modify rights over f c. q does not have own rights over f. Note: You cannot assume that p or q has or doesn't have a certain right over f. 2. (10 pts) Let p and q be two processes, and f a file. Consider the set of rights read, write, execute, append, list, modify, own). Using the primitives described in class, write a command delete_all_rights (p, q, f) satisfying ALL 3 conditions below: a. The command causes p to delete all rights the subject q has over f b. p has modify rights over f c. q does not have own rights over f. Note: You cannot assume that p or q has or doesn't have a certain right over f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
