2 Replies Latest reply on Aug 7, 2015 7:07 AM by Wolfgang Mayer

    wildfly created file permissions

    Stuart Archer Newbie

      Apologies if this is a daft question. It seems like it should be pretty obvious to me but I can't find any mention of it anywhere.


      Our (linux) Wildfly app writes uploaded files to a temp directory where they will be checked by another process. Problem is they are created with mod 600 so this other process (run as a different user id) cannot access.


      I need to change the default creation from 600 to 644. I've tried umask in the .profile and startup scripts (I dont think this is the route since files created through the shell are 644 as intended).


      I'm guessing there must be a system.properties.umask or something similar that I'm missing. Anyone got any pointers?