Sample Header Ad - 728x90

'chmod g+s' command

93 votes
5 answers
265550 views
Hello I want to understand the role of the chmod g+s command in Unix. I also would like to know what it does in this particular context:
cd /home/canard;
touch un;
chgrp canard .;
chmod g+s .;
touch deux ;
I understand all the commands roles except for chmod g+s and I want to know the differences between the files un and deux resulting from this series of commands.
Asked by otus (1031 rep)
Jan 31, 2015, 06:31 PM
Last activity: Apr 12, 2022, 03:33 PM