Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Preserve linux group on directory ====== <code bash> $ chgrp Groupname DirectoryName # Change group of folder $ chmod g+s DirectoryName # Set group id of folder - this will preserve group of created files $ echo umask 0002 >> ~/.bashrc # Set default mask of created files (every user needs to do this one) # After next login, check umask $ umask # Display umask 0002 $ umask -S # display current value symbolically u=rwx,g=rwx,o=rx </code> linux/misc/preserve_group_in_folder.txt Last modified: 2019/10/31 09:05by 127.0.0.1