Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Alice and Bob are both users on a Unix system, and Alice wants to share some files in a work documents directory with Bob.

  

Alice and Bob are both users on a Unix system, and Alice wants to share some files in a work documents directory with Bob. Alice executes the following series of commands: [alice@research home]$ pwd /home [alice@research home]$ ls -ld alice 3 alice [alice@research home]$ cd [alice@research alice]$ ls -ld work-docs/ drwxr-x--- alice 4096 Apr 29 10:43 alice drwxrwx--- 2 alice alice 4096 Apr 29 10:43 vork-docs/ [alice@research alice)$ cd work-docs/ [alice@research work-docs]$ 1s -1 total 8 1 alice 1 alice -rw-rw-r- alice 49 Apr 29 10: 40 file1. txt 22 Apr 29 10:43 file2. txt -rw-rw-r-- alice [alice@research work-docs]$ chmod 644 file2.txt [alice@research work-docs]$ umask 0002 [alice@research work-docs]$ vi file3. txt [alice@research work-docs]$ (In the final command, she uses the vi editor to create a third document). Bob subsequently executes the following commands: [boboresearch bob]$ id uid-1004 (bob) gid=1004 (bob) groups-1004 (bob),1003 (alice) [bob@research bob]$ cd "alice/vork-docs a. (1 mark) Will the ed "alice/work-docs command issued by Bob succeed? b. (3 marks) Can Bob edit the file file1.txt? If not, can he overwrite it, and why? c. (3 marks) Can Bob edit the file file2.txt? If not, can he overwrite it, and why? d. (3 marks) Can Bob edit the file file3. txt? If not, can he overwrite it, and why?

Step by Step Solution

3.46 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
635d7f4d5255b_176168.pdf

180 KBs PDF File

Word file Icon
635d7f4d5255b_176168.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamental financial accounting concepts

Authors: Thomas P. Edmonds, Frances M. Mcnair, Philip R. Olds, Edward

8th edition

978-007802536, 9780077648831, 0078025362, 77648838, 978-0078025365

More Books

Students also viewed these Mathematics questions

Question

Define profession and certification.

Answered: 1 week ago