[vox-tech] umask
Peter Jay Salzman
vox-tech@lists.lugod.org
Fri, 30 Nov 2001 14:33:10 -0800
begin: Jeff Newmiller <jdnewmil@dcn.davis.ca.us> quote
> 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.
does that imply that logging out and back in will reboot the computer? ;-)
but seriously, you can also do:
$ . $HOME/.bashrc?
pete
--
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
PGP Public Key: finger p@dirac.org