News for hackers. Stuff that matters.
Re:Chmod -x chmod by pvg on Sunday October 10, 2010 @09:20AM (#1777057)
I don't think umask setting affects the executable bits of files, just directories. You can try by entering something like

  umask 0; touch foo; ls -l foo
Re:Chmod -x chmod by CUViper on Sunday October 10, 2010 @04:11PM (#1777825)
It does affect files, but umask only subtracts permission bits. So if the program creating the file doesn't try to set it executable, then umask will never change that.