EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 54


SIMULATION -

Make on data that only the user owner and group owner member can fully access.

Show Answer
Correct Answer:

To change the permissions on the directory so that only the owner (root) and the group (sysadmin) have full access, you should use the chmod command. The appropriate permission setting for this scenario is 770. This permission setting allows the owner and the group to have read, write, and execute permissions while denying all permissions to others. The correct command to accomplish this is 'chmod 770 /data'. After setting the permissions, you can verify them by using the command 'ls -ld /data'. The expected output will show 'drwxrwx---' indicating that the owner and the group have full access while no permissions are granted to others.

Discussion

2 comments
Sign in to comment
eagleeye1
Dec 13, 2021

chmod ug+rwx /mnt/data chmod o-rwx /mnt/data

ruben_mv
Jul 20, 2022

chmod ug+rwx,o= /data