Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
Formatting and tags
Source Link
jasonwryan
  • 74.9k
  • 35
  • 204
  • 230

Hello I want to understand the role of the 'chmod g+s'chmod g+s command in unixUnix.

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 ;

cd /home/canard; touch un; chgrp canard .; chmod g+s .; touch deux ;

I understand all the commands roles except for 'chmod g+s'chmod g+s and I want to know the differences between the files 'un'un and 'deux'deux resulting from this series of commands.

Thanks in advance, I'm a beginner in Unix.

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.

Thanks in advance, I'm a beginner in Unix.

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.

Source Link
otus
  • 1k
  • 1
  • 7
  • 3

'chmod g+s' command

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.

Thanks in advance, I'm a beginner in Unix.