Re: umask don't change
Am Mittwoch, 10. Oktober 2007 schrieb Douglas A. Tutty:
> On Wed, Oct 10, 2007 at 09:03:37AM -0400, Roberto D'Oliveira wrote:
> > 2007/10/10, Florian Lindner <email@example.com>:
> > > Hello, I have uncommented and modified to umask setting in
> > > ~/.bash_profile to:
> > >
> > > umask 077
> > >
> > > although I exit and re-login (with SSH) the umask stays 0022. What's
> > > wrong there?
> > Try to write it on ~/.bashrc
> Or look through all the login config files and see where all the umask
> is being set. Personally, I set mine with libpam-umask.
Yes, I know I can set in various places in /etc but I want to set it only for
this user account and I want it to be changeable for the user.
Why does it not work when placed in ~./bashrc or ~/.bash_profile? I can set in
in shell each time I have logged in and a source .bashrc also works.