On Mon, Jan 21, 2008 at 10:02:39AM -0600, Dave Sherohman wrote: > On Mon, Jan 21, 2008 at 12:20:24PM +0100, Christian Ruffer wrote: > > i want to change the umask permanently for one user. > > > > 1. I change the .bash_profile file. uncommented umask > > nothing > > Have you tried setting it in .bashrc? Depending on how a shell comes > into existence, .bash_profile may or may not run, but .bashrc always > will. (Or, more accurately, bash will run either .bash_profile or > .bashrc on startup, depending on how it's called, but the default Debian > .bash_profile starts off by running .bashrc.) >
You also have to define permanently. umask will always be under the user's control and can be changed at will. There's also any settings in the /etc/ bash-related files. There's also libpam-umask to play with. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]