ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 193 - XK0-005 discussion

Report
Export

A developer wants to ensure that all files and folders created inside a shared folder named /GroupOODEV inherit the group name of the parent folder. Which of the following commands will help achieve this goal?

A.
chmod g+X / GroupOODEV/
Answers
A.
chmod g+X / GroupOODEV/
B.
chmod g+W / GroupOODEV/
Answers
B.
chmod g+W / GroupOODEV/
C.
chmod g+r / GroupOODEV/
Answers
C.
chmod g+r / GroupOODEV/
D.
chmod g+s / GroupOODEV/
Answers
D.
chmod g+s / GroupOODEV/
Suggested answer: D

Explanation:

Thechmodcommand is used to change the permissions of files and directories on Linux systems. Theg+soption sets the setgid bit on a directory, which means that all files and folders created inside that directory will inherit the group name of the parent directory. This command can help the developer ensure that all files and folders created inside the /GroupOODEV directory have the same group name as /GroupOODEV.Reference: [How to Use chmod Command in Linux with Examples]

asked 02/10/2024
Quratulain Damani
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first