Question about File ownership file upload and HTTP Post

2007-07-27 Thread Josh Rountree
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

Re: Question about File ownership file upload and HTTP Post

2007-07-27 Thread Filip Hanik - Dev Lists
Josh Rountree wrote: 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

Re: Question about File ownership file upload and HTTP Post

2007-07-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, Josh Rountree wrote: I have a servlet that processes requests for file uploads. When I write this file to disk, root is the owner? You should not be running Tomcat as root. Are you doing that? Stop it! Is this the correct behavior? Unless