EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 72


SIMULATION -

Make on /archive directory that only the user owner and group owner member can fully access.

Show Answer
Correct Answer:

To create a directory named /archive and set the permissions such that only the user owner and group owner members can fully access it, you should follow these steps: First, create the directory using 'mkdir /archive'. Next, change the permissions of the directory to allow full access for the user owner and group owner members by using the command 'chmod 770 /archive'. The 'chmod 770' command sets the permissions to read, write, and execute for the user owner and the group owner while denying access to all others. Verification can be done using 'ls -ld /archive', which should display the permissions as 'drwxrwx---' followed by the directory name, indicating that the permissions have been set correctly.

Discussion

1 comment
Sign in to comment
STFN2019
Sep 23, 2021

Simple: mkdir /archive chmod 770 /archive