O'Reilly logo
  • Ivan Petrov thinks this is interesting:

$ umask Show the current mask 0022 $ touch newfile Create a file $ ls -l newfile Show permissions of new file -rw-r--r-- 1 arnold devel 0 Mar 24 15:43 newfile $ umask 0 Set mask to empty $ touch newfile2 Create a se...


Cover of Linux® Programming by Example


umask in action!