SK0-003 · Question #423
A user cannot access files on /deps/it directory, the administrator verifies permissions are set rw-- ----- for the directory. Which of the following actions need to be performed to only grant read ac
The correct answer is A. Set folder permissions to 760.. To grant read and traverse access for users within a specific group to the /deps/it directory, while maintaining full control for the owner, the folder permissions should be set using the chmod command to 760.
Question
A user cannot access files on /deps/it directory, the administrator verifies permissions are set rw-- ----- for the directory. Which of the following actions need to be performed to only grant read access to the user on the IT directory?
Options
- ASet folder permissions to 760.
- BSet folder permissions to 770.
- CSet folder permissions to modify.
- DSet folder permissions to full control.
How the community answered
(49 responses)- A71% (35)
- B16% (8)
- C8% (4)
- D4% (2)
Why each option
To grant read and traverse access for users within a specific group to the /deps/it directory, while maintaining full control for the owner, the folder permissions should be set using the chmod command to 760.
Setting folder permissions to 760 (rwx for owner, rw- for group, --- for others) grants the owner full control, allowing them to traverse and manage the directory. It also provides read and write access to members of the directory's group, enabling them to interact with files within the directory, which includes the necessary read access for a user to access files.
Setting folder permissions to 770 (rwx for owner, rwx for group, --- for others) grants full read, write, and execute control to the group, which is more than only granting read access.
'Modify' is a permission level used in Windows NTFS, not a standard octal permission setting for Linux/Unix file systems indicated by the /deps/it path.
'Full control' is a permission level used in Windows NTFS, not a standard octal permission setting for Linux/Unix file systems indicated by the /deps/it path.
Concept tested: Linux directory permissions chmod
Source: https://www.man7.org/linux/man-pages/man1/chmod.1.html
Topics
Community Discussion
No community discussion yet for this question.