Howdy, 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 [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 28, 2003 3:00 PM >To: '[EMAIL PROTECTED]' >Subject: File Permissions in WAR Files > >When tomcat extracts my .war file, insufficient file permissions are >applied >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 site >works fine. I understand that there is no way to set file permissions >within >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 build/deployment >process. > >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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
