4-3 Create and Configure Set-GID Directories for Collaboration Flashcards

1
Q

chmod -s

A

Change mode; set the permissions for a file or directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

setgid

chmod g+s
chmod g-s

A

File is executed with permissions of its owning group
Not by the permissions of the user executing it

if set on directory, all files and directories made inside of directory will inherit group ownership to be able to execute with group’s permissions when run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

setuid

chmod u+s
chmod u-s

A

File is executed with permissions of its owning user,
Not by the permissions of the user executing it

if set on directory, all files and directories made inside of directory will inherit user ownership to be able to execute with owner user’s permissions when run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly