John needs to change the permissions of a file named access.odt such that the file owner can edit the file. The sales staff who are members of the group that owns the file should be able to edit it. The sales staff who are not the owners and do not belong to the owning group can view it, but not modify it. Which of the following commands will help them do this?
  1. chmod 555 routine.odt
  2. chmod 664 routine.odt
  3. chmod 777 routine.odt
  4. chmod 644 routine.odt
Explanation
Answer - B - You should use the chmod 664 routine.odt command to change the permissions of a file named access.odt such that the file owner can edit the file.

Key Takeaway: To use chmod to modify a file’s permissions, you must either own the file or you must be logged in as root user. Entering chmod 664 schedule.odt command will grant Owner and Group read (4) and write (2) permissions. This will also grant Others read (4) permission.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz