Question
1. Suppose that the initial permission of testfile.txt is -rwxrwxrwx. a) After running sudo chmod o-wx testfile.txt, what is the permission of testfile.txt now? b)
1. Suppose that the initial permission of testfile.txt is -rwxrwxrwx. a) After running "sudo chmod o-wx testfile.txt", what is the permission of testfile.txt now? b) Continue to run "sudo chmod g=x testfile.txt", what is the permission of testfile.txt now? c) Continue to run "sudo chmod g+rw testfile.txt", what is the permission of testfile.txt now?
2. There are four subjects: S1, S2, S3, S4; four objects: 2 Files F1, F2 and 2 Processes P1, P2. File permissions include read (r), write (w), and execute (e). Process permissions include delete (d), stop (s), and wakeup (wp). Assume that S1 can write F1, F2; S1 can delete P1 and stop P2. Assume that S2 can read and write F1; S2 can execute F2, stop P2. Assume that S3 can read F1 and F2. Assume that S4 can delete, stop, and wakeup both P1 and P2. Please draw the access control list (ACL) and the capability list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started