US and Worldwide: +1 (866) 660-7555
+ Reply to Thread
Results 1 to 5 of 5

Thread: Text File Output file permissions in Linux

  1. #1

    Default Text File Output file permissions in Linux

    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

  2. #2
    Join Date
    Feb 2009
    Posts
    289

    Default

    You'll probably need to change the umask setting of your system.
    Fabian,
    doing ETL with his hands bound on his back

  3. #3

    Default

    I'm not well versed in Linux, but what do I tell the Sys Admin to do?

  4. #4
    Join Date
    Feb 2009
    Posts
    289

    Default

    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

  5. #5

    Default

    Thanks for the link.
    I added umask on the shell script and that solved the problem.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts