How to install setgid in ubuntu
1 answer
When the setgid bit is set on a directory, new subfolders and files in that directory inherit the directory's owner group. If you do this in a folder, you can force new files and folders to have their own group id, even if another user makes the creation.
You can enable the setgid bit by doing:
chmod g+s <directory name here>
User and group can appear in the parent directory.
ls -l
See: http://www.toptip.ca/2010/03/linux-setgid-on-directory.html
+8
source to share