Hi,
I'm playing around with umask on a hp-ux server, and I realize that I've never understand the umask thing.
For example if I want to create a file with all the rwx stuff I should do:
umask 000
touch newfile
ls -l newfile
-rw-r--r-- newfile
but, what happened. I expect this file to be rwxrwxrwx ause I set umask 000, so it gives the file 777.....
Here is the question: if I want to make my new files be u=rwx g=rx o=rx , which umask do I have to use. ( I tried umask u=rwx,g=rx,o=rx but when I create a file the ls command gives me -rw-r--r-- for that file.
thanks