Re: umask



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.)

--
I reckon we are now the only monastry ever that had a dungeon stuffed with
sixteen thousand zombies.
- perlmonks.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: umask
    ... Have you tried setting it in .bashrc? ... Depending on how a shell comes ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [OT] How to add fortune output to terminal
    ... a necessity so each one should check such files in $HOME ... Then, in .bashrc you'll see: ... # .bash_profile should unset PS1 first. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Command Line Completion for Programs?
    ... Perhaps it's due to the presence of the .bashrc in my home ... > # enable bash completion in interactive shells ... Stick some exports in /etc/bash.bashrc and ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: psql command
    ... '>'> I already created the user on postgres ... You have to '>'run .bashrc after an edit, either by logging out and back in, or by '>'sourcing it on the command line. ... '>'-- '>'To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx '>'with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: psql command
    ... Iuri Sampaio wrote: ... '>'> But somehow I can't run any commands such as ... You have to '>'run .bashrc after an edit, either by logging out and back in, or by '>'sourcing it on the command line. ... '>'-- '>'To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx '>'with a subject of "unsubscribe". ...
    (Debian-User)