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 how to change the owner
> of these uploaded files?
>
that is because your tomcat (java) process runs as root
you could write code to change the owner of the file after saving it to disk
Filip
>
>
> 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
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 7/25/2007 1:16 AM
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)