Ken Schneider wrote:
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------
Hi Ken. If I say that I understand it its not the true. Maybe first of all because I'm still not quite sure on what umask does, but will read what Randall wrote to me. How can for instance 000 be equal to 666 ?. Not that I say, that I doubt what You tell me, but I myself am not sure on how ?. Erik Jakobsen