This is on a test machine, not production. I included the following in a user's .bashrc:
umask 000
I relogged in. When I go to create a file in my home directory, say using vi test.txt, the file gets permission rw-rw-rw.
I also tried setting umask manually:
umask a=rwx
What am I doing wrong, as I need the equivalent of CHMOD 0777 or 0755 on files and directories? Again, this is a test situation, so security is of no concern at the moment.
Edit: Come to think of it, is this impossible? Since umask for files gets subtracted for 666, lowest umask is 000, therefore, CHMOD of 666 is the highest a file can get? There's no way to give files CHMOD of 755 or 777 using umask?