umask
A process's mask for new files: its bits are removed from 666 for a file and 777 for a directory. With 022 a file gets 644 and a directory 755; with 002 the group keeps write access.
A process's mask for new files: its bits are removed from 666 for a file and 777 for a directory. With 022 a file gets 644 and a directory 755; with 002 the group keeps write access.