Re: Setting permissions to new files?
On 6/18/07, Bruno Buys <email@example.com> wrote:
Where do I change the permissions that are set when I create a new file?
I mean, I'd like to be able to change the default permissions that my
system atributes to new files.
bruno@merlin:~$ > newfile
bruno@merlin:~$ ls -l newfile
-rw-r--r-- 1 bruno bruno 0 2007-06-17 18:06 newfile
I'd like new files to be created as writable to the group, as in
-rw-rw-r-- 1 bruno bruno 0 2007-06-17 18:06 newfile
$ umask 002
you can put it in your .bashrc