Ken, On Tuesday 26 April 2005 09:35, Ken Schneider wrote:
...
Trying to remember from a failing memory...
Meaning you forget where the documentation is?
umask is the invert of the permissions you want to set. On files a umask of 000 would create files with 666 perms. With 022 it would be 644 and with 044 it would be 622 and last 066 would result in perms of 600.
octal 666 = -rw-rw-rw 644 = -rw-r--r- 622 = -rw--w--w (useless as write permission infers read permission) 600 = -rw------
While I'm sure you mean "implies" (since a permission can not perform the logical act of inferring), it's simply not true. There are purposes for write-only files and especially for write-only directories (in conjunction with execute permission, of course, and often the sticky bit, too).
Ken Schneider
Randall Schulz