[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: default file permissions

* 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.


Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Create a system that is usable even by idiots, and only idiots will use it.

Reply to: