December 2017
Intermediate to advanced
410 pages
11h 5m
English
This syntax is very similar to that of setting SUID for files:
chmod g+s /path/to/file chmod 2644 /path/to/file
This time we will set up the SETGID with the group permission, so we use g+s with chmod.
We can alternatively use 2644, where 2 denotes SGID and 644 denotes the file permission of the file.
Read now
Unlock full access