Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Expanded/exploded war permissions

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic