You work as a Network Administrator for Net Perfect Inc. The company has a Linux-based network. You have created a folder named Report. You have made David the owner of the folder. The members of a group named JAdmin can access the folder and have Read, Write, and Execute permissions. No other user can access the folder. You want to ensure that the members of the JAdmin group do not have Write permission on the folder. Also, you want other users to have Read permission on the Report folder.
Which of the following commands will you use to accomplish the task?
The chmod command is used to change or edit file/folder permissions in Linux. In order to accomplish the task, you will have to run the
following command:
chmod 754 report
This will provide Read, Write, and Execute permissions to the owner (in this case, David), Read and Execute permissions to the members of
the JAdmin group, and only Read permission to other users.
Answer option C is incorrect. This will provide Read, Write, and Execute permissions to David, to the members of the JAdmin group, and to
other users.
Answer option A is incorrect. This will provide Read and Execute permissions to David, to the members of the JAdmin group, and to other
users.
Currently there are no comments in this discussion, be the first to comment!