Version 1 of umask

Updated 2014-12-28 15:48:02 by dkf

This command is part of the TclX package.

umask ?octalMask?

Gets and sets the POSIX file creation permissions mask. Gets the current value if octalMask is omitted, sets it if octalMask is given. Will affect the open and file mkdir commands, plus operations by subprocesses started with exec (it is an inheritable property that is cloned when a new process is created).