enter:
umask 002
Then, all new files will have the permissions you requested while you are still logged in.
To make it permanent every time you log in, append that to your shell profile like this:
echo "umask 002" >> ~/.profile
Message was edited by:
bek
Actually, what you need to set your umask to, depends on the rest of the system.
First check in /etc/default/login for the system wide UMASK setting. This is the one that applies to you. You should start calculating from there :)
See also:
====================
The three
octal digits refer to read/write/execute permissions for
owner, group, and other, respectively(seechmod(1),
chmod(2), and umask(2)). The value of each specified digit
is subtracted from the corresponding ``digit'' specified by
the system for the creation of a file (see creat(2)). For
example, umask 022 removes write permission for group and
other (files normally created with mode 777 become mode 755;
files created with mode 666 become mode 644).
====================
Message was edited by:
Cailin_Coilleach