RedHat EX200 Exam - Topic 1 Question 22 Discussion
Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.
A) chmod g+s /archive
Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4096 Mar 16 18:08 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
B) chmod g+s /archive
Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4896 Mar 16 18:09 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
Elbert
8 months agoAbel
8 months agoAlyce
9 months agoChauncey
9 months agoMauricio
9 months agoWinifred
9 months agoFreeman
9 months agoAbel
9 months agoRemona
9 months agoRyan
9 months agoDelmy
9 months agoWillodean
9 months ago