View previous topic :: View next topic |
Author |
Message |
mosquito Tux's lil' helper
Joined: 13 Dec 2004 Posts: 110
|
Posted: Wed Mar 16, 2005 8:43 pm Post subject: [SOLVED] I want to chmod 600 by default |
|
|
Where do I make changes so that libraries chmod 700 and files chmod 600 when I create new documents and libraries?
mosquito
Last edited by mosquito on Thu Mar 17, 2005 11:48 am; edited 1 time in total |
|
Back to top |
|
|
shadow255 Guru
Joined: 04 Apr 2003 Posts: 412
|
Posted: Wed Mar 16, 2005 9:12 pm Post subject: |
|
|
You want your file creation mask to be 077. This can be done by modifying your $HOME/.bashrc to include a line (I usually put it at the end of the file) like this:
If you're using a different shell for your primary user, you'll need to modify a different file, but you should know how to go about that if you're using anything other than bash.
I hope this helps! _________________ Vogon poetry is of course the third worst in the Universe. -- Douglas Adams, The Hitchhiker's Guide to the Galaxy |
|
Back to top |
|
|
mosquito Tux's lil' helper
Joined: 13 Dec 2004 Posts: 110
|
Posted: Wed Mar 16, 2005 9:23 pm Post subject: |
|
|
shadow255 wrote: | You want your file creation mask to be 077. This can be done by modifying your $HOME/.bashrc to include a line (I usually put it at the end of the file) like this:
I hope this helps! |
Thx just what I needed. So simple but efficient. Linux in a nuttshell
mosquito |
|
Back to top |
|
|
|