On Thu, 24 May 2001, Clemen Canaria wrote:

> the default in linux is whenever you create a text file, it will have a
> permission of 644.
>
> but i want to do it this way,
> whenever i create a file i want it to automagically have a permission of
> 664.
>
> how do i configure this? which file to edit?
>
> thanks in advance.
>

Set your umask to 002.  Say something like

umask 002

in your startup shell scripts (e.g. /etc/profile, ~/.bash_profile).

--
Rafael R. Sevilla <[EMAIL PROTECTED]>   +63(2)   8177746 ext. 8311
Programmer, InterdotNet Philippines              +63(917) 4458925

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to