[vox-tech] umask

Jeff Newmiller vox-tech@lists.lugod.org
Fri, 30 Nov 2001 14:28:57 -0800 (PST)


On Fri, 30 Nov 2001, Robert G. Scofield wrote:

> On Thursday 29 November 2001 02:34 pm, you wrote:
> > On Thu, Nov 29, 2001 at 02:31:43PM -0800, Robert G. Scofield wrote:
> > > I'm trying to change the umask value in two of my accounts from 002 to
> > > 001. However, after I log out of each account the value reverts back to
> > > 002.  How can I make the change to 001 permanent?
> >
> > You want to stick the call to the 'umask' command in your login script/conf
> > (".bashrc", ".bash_profile", ".cshrc", or whatever)
> 
> Okay, now I'm trying to change an 022 to a 002.  In .bashrc I have this line: 
> 
> "# User specific aliases and functions"
> 
> I tried putting "umask 002" under this and nothing happened.  So I guess I 
> don't know what I'm doing.  What do I put?  What exactly is "the call"?

umask 002

Make sure you log out and back in again, because this file is only sourced
on bootup.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------