On Sep 27, 2007, at 10:36 AM, [EMAIL PROTECTED] wrote:
- I delegate a credential to my webservice with String identity = SecurityManager.getManager().getCaller(); I can print out the identity of the caller. I was of the opinion that if the webservice creates a file e.g in /tmp the file would have the owner of the Caller but the owner is globus (under globus the container runs). How can I create a file with the callers identity - So that it has the rights of the caller? If i run a job the job runs under the callers identity and creates files with the callers identity.
This is what GRAM4 uses sudo for. It lets the container owner run a command using another user's privileges. Alternatively you could use a setuid executable.
Charles
