tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: File Permissions in WAR Files
Date Wed, 28 May 2003 19:48:08 GMT

The permissions depend on the tomcat user's umask.  Change that and
you'll be all set.

Another alternative, since you've already bother to package and deploy a
.war file, is to keep it packaged.  Use the resource APIs instead of the
Filesystem ones.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Schacht, Tyler []
>Sent: Wednesday, May 28, 2003 3:00 PM
>To: ''
>Subject: File Permissions in WAR Files
>When tomcat extracts my .war file, insufficient file permissions are
>to the folders/directories.  I use an apache connector and my site is
>unavailable due to apache having insufficient permissions to acess the
>directories.  If I then go in and hand chmod the files/folders, the
>works fine. I understand that there is no way to set file permissions
>a war/jar.  Is there a way to tell tomcat to chmod the structure upon
>extracting the war?  This is really throwing a hitch in my
>Tyler Schacht

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message