jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes Expanded/exploded war permissions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Expanded/exploded war permissions" Watch "Expanded/exploded war permissions" New topic
Author

Expanded/exploded war permissions

Paul Dwinn
Greenhorn

Joined: Jun 15, 2009
Posts: 1
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

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear Paul,

Start Tomcat with an umask of 002 instead of 022. http://en.wikipedia.org/wiki/Umask


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Expanded/exploded war permissions
 
Similar Threads
content in war file
i am a tomcat idiot. Need help using context roots
[NOOB Alert] Deploying applications in WebSphere without an EAR
best place to put configuration properties.
Issues logging with log4j