Alice and Bob are both users on a Unix system, and Alice wants to share some...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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? 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?
Expert Answer:
Related Book For
Fundamental financial accounting concepts
ISBN: 978-0078025365
8th edition
Authors: Thomas P. Edmonds, Frances M. Mcnair, Philip R. Olds, Edward
Posted Date:
Students also viewed these mathematics questions
-
The Party Store had the following series of transactions for 2013: Required a. Determine the quantity and dollar amount of inventory at the end of the year, assuming The Party Store uses the FIFO...
-
Alice and Bob are experimenting with CSMA using a W 2 Walsh table (see Figure 12.29). Alice uses the code [+1, +1] and Bob uses the code [+1, 1]. Assume that they simultaneously send a hexadecimal...
-
Alice and Bob are playing a game where they take turns drawing on a piece of paper. Alice goes first and Bob goes second. The rules of the game are as follows: We start off with n crosses, i.e....
-
Addie's grandfather has left them a trust and the value of the money they receive depends on the age choose to collect this gift of money. Their options are given in the table below. Payoff at age 19...
-
Boone Corporations outstanding capital stock on December 15 consisted of the following: 30,000 shares of 5% cumulative preferred stock, par value $ 10 per share, fully participating as to dividends....
-
Safe Parking, near an airport, incurred the following costs to acquire land, make land improvements, and construct and furnish a small building: Safe Parking depreciates land improvements over 15...
-
From prior audits of Bristol, Inc. and recent discussions with management, an auditor believes that sales invoices agree in detail with related shipping documents, with very few exceptions....
-
Choosing between compensation plans, operating leverage (CMA, adapted) Marston Corporation manufactures pharmaceutical products that are sold through a network of external sales agents. The agents...
-
Advertisement: "Introducing Ixchel, a revolutionary leap in medical technology! With cutting-edge capabilities, this advanced machine performs rapid brain scans to diagnose over a hundred different...
-
Arroy Snackfoods is considering replacing a five-year-old machine that originally cost $75,000. It was being depreciated using straight-line to an expected salvage value of zero over its original...
-
1. Suppose that we have a program in C where the main function calls a function foo. The function foo() is as follows: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. int d = 10; void main() { foo (2,3); } void...
-
Amy has her own bookkeeping company, ClearBooks Account providing services for the month ended August 31, 2023. Amy administrative assistant and the other is a bookkeeper. The follo D 1 2 Cost Item...
-
Mr. Chandler, the production supervisor, bursts into your office, carrying the company's prior year performance report and thundering, "There is villainy here, sir! And I shall get to the bottom of...
-
Fill in the missing data for each of the following independent cases. (Ignore income taxes.) Note: Do not round intermediate calculations. Leave no cells blank - be certain to enter "0" wherever...
-
It was found that 60% of people have a dog as a pet. If a random sample of 11 people is selected, what is the variance of the number of people that have a dog as a pet? (That is, what is Var(X)?)...
-
If 22 boxes weigh 255.2 kilograms all together, what is the unit mass?
-
Visit the MarketWatch websiteat www.bigcharts.com Select the Historical Quotes tab. In the blank box next to Enter Symbol type MCD and in theblank box next to Enter Date type 12/30/2009. Press the...
-
Don Griffin worked as an accountant at a local accounting firm for five years after graduating from university. Recently, he opened his own accounting practice, which he operates as a corporation....
-
At the end of the accounting period, Adams Companys general ledger contained the following adjusted balances: Required 1. Set up the preceding spreadsheet format. (The spreadsheet tips for ATC 3-9...
-
Business Applications Case Understanding real-world annual reports Required Use the Target Corporations annual report in Appendix B to answer the following questions. a. For the year ended January...
-
Barker Company had the following balances in its accounting records as of December 31, 2012: The following accounting events apply to Barker Companys 2013 fiscal year: Jan. 1 Acquired $20,000 cash...
-
The following frequency distribution presents the amounts, in dollars, spent for Valentines Day gifts in a survey of 123 U.S. adults. a. Approximate the mean amount spent on Valentines Day gifts. b....
-
The personal income per capita of a state is the total income of all adults in the state, divided by the number of adults. The following table presents the personal income per capita (in thousands of...
-
The following frequency distribution presents the number of U.S. adults (in thousands) ages 25 to 74 who have earned a Bachelors degree in a recent year. a. Approximate the mean age. b. If the...
Study smarter with the SolutionInn App