Question

user1 and user2 are both members in group gr1. Assume user1 run the following commands: $...

user1 and user2 are both members in group gr1. Assume user1 run the following commands:

$ who am i
user1 pts/7 Oct 20 10:02
$ ls -ld /home/user2/info
drwx-----x. 2 user2 gr1 4096 09-20 09:31 /home/user2/info
$ ls -l /home/user2/info
ls: /home/user2/info: Permission denied

Explain why user1 got permission denied?

Homework Answers

Answer #1

Here you go:

In Linux, ownership of Linux files has its own set of rules.
Whenever a user creates a particular file, the user will become its owner by default. But in a group, all the users which belong to a group will have the same access rights to the file.
Now if you change the access permission of any file (or say user2 in the above case) it automatically applies the new access permissions to all the users who come under that particular group. Hence the permisson got denied.

========================================================

A sign of thumbs up would be appreciated.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use the following information to run a t-Test. Write a paragraph description about the information you...
Use the following information to run a t-Test. Write a paragraph description about the information you found and the conclusions you can draw Your write up should discuss all aspects of hypothesis testing, what is your null and alternative, what are the means and variances of each group, are we running a one- or two-tailed test, why? What is the test statistic, is it statistically significant? In the American society, birthdays are one of those days that everyone looks forward...
6.) Assume that 15% of the people in your expedition trip own a mobile phone, and...
6.) Assume that 15% of the people in your expedition trip own a mobile phone, and you are randomly assigned to two partners in your group. Find the probability that: a) The first partner will have a mobile phone b) The first partner will not have a mobile phone c) That both partners have a mobile phone d) That at most one will have a mobile phone 7.) The following contingency table shows U.S. Adults, broken down by political party...
lpha Appliances, Inc. Alpha Appliances, Inc. is a major distributor of household appliances. Its customer base...
lpha Appliances, Inc. Alpha Appliances, Inc. is a major distributor of household appliances. Its customer base consists of local retailers who stock a variety of products including appliances. Alpha purchases bulk of its products from China, Mexico, India, and Thailand. The business has been good. In past few months, Jay Adams, VP-Marketing has received numerous complaints from its customers that they have not been receiving supplies on time, costs have gone up, etc. Jay calls a meeting of his sales...
What Happens When Hospitals Run out of Ventilators and Other Emergency Rescue Equipment? Patricia Benner, R.N.,...
What Happens When Hospitals Run out of Ventilators and Other Emergency Rescue Equipment? Patricia Benner, R.N., Ph.D., FAAN April 7, 2020 Our overwhelmed, or soon to be overwhelmed hospitals, face rationing precious life-saving equipment, such as ventilators. Our national lack of preparedness for a global pandemic will, in the near future, force local physicians and nurses to ration ventilators and oxygen delivery equipment, for patients and Personal Protective Equipment (PPE) for caregivers. How do health care providers make decisions about...
Case Study 11.1 – TATA’S HANDLING OF THE MUMBAI TERRORIST ATTACKS Tata, a global group of...
Case Study 11.1 – TATA’S HANDLING OF THE MUMBAI TERRORIST ATTACKS Tata, a global group of companies headquartered in India, operates in seven busi­ness sectors: communications and information technology, engineering, materials, services, energy, consumer products and chemicals. The group operates in more than 80 countries across six continents, with 58 per cent of its revenues coming from business outside of India. Well-known companies within the group include Tata Steel, Tata Motors, Tata Consultancy services, Tata Tea and Taj Hotels. Whilst...
using mysql lyrics.database. i will provide the lyrics schema database info below 1. List the first...
using mysql lyrics.database. i will provide the lyrics schema database info below 1. List the first name, last name, and region of members who do not have an email. 2. List the first name, last name, and region of members who do not have an email and they either have a homephone ending with a 2 or a 3. 3. List the number of track titles that begin with the letter 's' and the average length of these tracks in...
PLEASE READ THE ARTICLES ATTACHED AND ANSWER THE FOLLOWING QUESTION. THE ARTICLES ARE BOTH LISTED PLEASE...
PLEASE READ THE ARTICLES ATTACHED AND ANSWER THE FOLLOWING QUESTION. THE ARTICLES ARE BOTH LISTED PLEASE PROVIDE DETAILED EXPLANATIONS. PLEASE WRITE ONE REFLECTION COMBINING BOTH ARTICLES. The purpose of the Article Reflection is to deepen your engagement with the topic of Epidemiology. It will give you the opportunity to reflect on the current real-life epidemiological issues at hand and help to bring meaning to them. ARTICLE 1: A group of students knew they had covid-19. They hosted a party over...
** Summarize the following paragraphs in ONE PARAGRAPH please.** Just as my deadline approached for the...
** Summarize the following paragraphs in ONE PARAGRAPH please.** Just as my deadline approached for the editorial for this issue, Time magazine for March 5, 2018 arrived at my home. In this historic issue, entirely devoted to the topic of the opioid epidemic in the United States, riveting black and white photographs by James Nachtwey depict what is happening in my country. It is difficult for me to find words to describe the emotional impact of these photographs, even though...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Timberrrrr Tree, LLC ("Timberrrr") operates a tree removal service. Their slogan is "Short or Tall We...
Timberrrrr Tree, LLC ("Timberrrr") operates a tree removal service. Their slogan is "Short or Tall We Chop 'Em All". Theresa and Richard Rosen hire Timberrrr to clear 10 trees on their property. The estimate they receive from Timberrrr quotes a price of $6,000.00. A deposit of $500.00 must be paid within 7 days of the estimate, $2,500.00 must be paid at the start of the first day of Timberrrr's work. The remainder must be paid upon completion of the job....
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT