This content has been marked as final.
Show 2 replies
-
1. Re: wildfly created file permissions
jaikiran Aug 6, 2015 2:31 PM (in response to stuartar)How is that file being created, what does the code look like? You might want to look at that code and this API in Java Files (Java Platform SE 7 ) which allows file permissions to be set accordingly.
-
2. Re: wildfly created file permissions
mayerw01 Aug 7, 2015 7:07 AM (in response to stuartar)The default file permission may be overwritten via umask as mentioned above. But you should add the umask in the startup script used by your shell. For bash this is usually ~/.bashrc
If you add umask u=rwx,g=rwx,o=rx you should get the files created with write permissions for the group.