Re: default file permissions
* Adeodato Simó [Tue, 11 May 2004 02:38:43 +0200]:
> * Antiphon [Mon, 10 May 2004 20:23:02 -0400]:
> > > > rw-rw---- would be 660
> > > So setting my umask to 006 would lead to let new files be 660, right?
> > That should do the trick
> sorry but nope. UMASK=006 would yield permissions rwxrwx--x (771). you
> need a little binary arithmetic to understand umasks. google should
> provide pages with detailed explanations of this.
*sigh* ok, that'd be for directories only.
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
He who has not a good memory should never take upon himself the trade of lying.
-- Michel de Montaigne