First of all, everything is fine with the unpacking of the War file.

But I need a safe concept for a ftp user which should upload, delete and
manage the War file/Application. 

Tomcat 5.5 is running with tomcat:tomcat
Ftpuser is ftpuser:tomcat

The webapps directory has ownership ftpuser:tomcat, group permission for
tomcat is rwx.

After uploading the war per ftp, tomcat is unpacking the war file in the
webapps folder in a subdirectory. Everything is accessible and works,
fine.

If the ftpuser deletes the war file, tomcat is deleting the application
subdirectory, fine.

In some circumstances it will be important for the ftp user to do some
changes to the unpacked application (mostly change some values in xml
files or altering some jsps), leaving the rest of the application
untouched.

Tomcat is extracting the War file with tomcat:tomcat, but with group
permission read only for group. So the ftpuser belonging to group tomcat
has no chance to alter any files, bad.

So I`ve got some questions:

Is it possible to unpack a war file always with group permission
read/write?
Is there a way telling tomcat to extract war files with ownership
ftpuser:tomcat?

Everything could be done by changing permissions with chown or chmod,
but the ftpuser has no bash, and a cronjob would be the last thing I
want to do.

Thank you for your suggests

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to