Hi All
I'm creating a temp file and after checking it whether it is of valid size, i'm renaming/moving it to the actual place. Now i have to set the permissions to "umask 022" before moving the file. I can do this with chmod (after creating the file)but it has to be set using umask now.
Pls let me know how should i use 'umask'???
Thanks
Max