umask in RHEL 6

How can one set the executable bit on files using umask? According to documentation, a umask of 000 should work, but in practice this only works on directories.

Also open to other methods of automatically setting +rwx on a particular user's created files if you have any.


There is no general automatic way to have The file mode set to rwx. The umask setting does not set the bits it stops them from being set. It is up to the application that is creating the file to set the file mode appropriately which is then modified by umask.