I'm a little confused on umasking. The way I was shown to do it manually is to take whatever number the umask is, say 123, turn that into binary for the permissions.
flip the bits
and then take away executability
thus I get rw-r--r--
but when I enter umask 123 myfile into the terminal and then do a ls -l myfile, I see permissions of
Am I missing something?