Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Unix "Change Owner" with Java

  Asked By: Hamish    Date: Jul 07    Category: Java    Views: 1630
  

we use a Tomcat Web Server running as root.

Now I have a problem:
We wrote an upload-Servlet to upload several files in a special directory in
/home/myuser/upload.
It works good, but the file owner is root and not myuser and I want to change
the owner (like CHOWN).
The Admin does not want to give me the root-PW.
Perhaps someone knows a way to change the owner of the uploaded file during the
upload process.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Unix "Change Owner" with Java Or get search suggestion and latest updates.




Tagged: