I have a process that creates a text file at the end of the process. Everything works fine except that the file permission is: rw-r--r--
How do I make that process create a file
with this file permission: rw-rw-rw-
thanks
I have a process that creates a text file at the end of the process. Everything works fine except that the file permission is: rw-r--r--
How do I make that process create a file
with this file permission: rw-rw-rw-
thanks
You'll probably need to change the umask setting of your system.
Fabian,
doing ETL with his hands bound on his back
I'm not well versed in Linux, but what do I tell the Sys Admin to do?
I had to take a look myself. Check out:
http://en.wikipedia.org/wiki/File_sy...ix_permissions
and more specifically:
http://en.wikipedia.org/wiki/Umask
The umask must be set for the user your PDI is run by. Most likely a specific user and not your own user name.
Fabian,
doing ETL with his hands bound on his back
Thanks for the link.
I added umask on the shell script and that solved the problem.