Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Question about File ownership file upload and HTTP Post

Josh Rountree

2007-07-27

Replies:

I have a servlet that processes requests for file uploads. When I write this
file to disk, root is the owner? Is this the correct behavior? Since I do
not have root access on the machine that the servlet executes I cannot
remove these files. Any documentation that explains how to change the owner
of these uploaded files?



Thanks, Josh


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.22/922 - Release Date: 7/27/2007
6:08 AM

©2008 junlu.com - Jax Systems, LLC, U.S.A.