If I changed my "umask", so that group members had all permissions.
What would be the effect when creating new files and directories?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityThe effect depends on the application.
When an application creates a file it specifies the maximum amount of permissions that should be granted. The umask says which of those permissions should be actually granted.
So if you have a umask of 0770 saying that group members should not have any permissions restricted and the application says that the file should have 0600 (so r/w to owner and no group or other permissions) then the file ends up 0600. If the application said it should be 0666 (r/w to owner, group and other) then the file ends up 0660.