PDA

View Full Version : UMask - File Creation




justdana
Sep 10, 2009, 09:46 AM
Does anyone know of a way to make a change that when a user creates a directory or file that it will keep a custom usmask setting?

example, currently when a creates something on a network drive, external drive, or whichever you have 755 for directories and 644 for files (umask of 022). What I am trying to see if there is a setting to change that it will write a umask of 002.
( NTFS is excluded out of this conversation ).

We tried the environmental.plist, the /etc/.. nothing will make a change that will stick.



peetah
Sep 10, 2009, 10:03 AM
Have you tried creating a .bash_profile in the user's home directory with umask 002 as its only statement?