Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Expanded/exploded war permissions  RSS feed

 
Paul Dwinn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Tomcat 6.0. Is there a configuration to control what permissions (Linux/Unix) files/directories are given to an expanded war.

For example, I currently get the following when the war gets exploded:
drwxr-xr-x 2 someuser somegroup

I would like it so that the group always gets write permissions too:
drwxrwxr-x 2 someuser somegroup

There are good reasons for this beyond being completely lazy.
Thanks for any help
Paul
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Paul,

Start Tomcat with an umask of 002 instead of 022. http://en.wikipedia.org/wiki/Umask
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!