Automatically assign group ownership to new files and folders using the sticky bit

A simple chmod flag to enable inheritance of group ownership setings for files and folders on linux systems.
created by on 2013-01-08

Shell command:

# Add a sticky flag to a directory
chmod g+s /name/of/directory

Be sure not to apply this flag to files and don’t use the recursive (-R) flag.

Links related to the linux stick bit

Fork allmark on GitHub