On Tue, 2005-04-26 at 18:02 +0200, Erik Jakobsen wrote:
Randall R Schulz wrote: I have Googled, and have looked at the man:chmod in konqueror, but could you please tell me the effect of doing an umask, as I'm not quite convinced what it is in fact ?.
Erik Jakobsen
Trying to remember from a failing memory... 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------ -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge