remote user environment variable?
I'm trying to set up a mechanism to copy a local file using a setuid executable, based on whether the registered user has read access to the local file in question. Is there any means for a tool to know the registered user who is running it? David Hoover Helix Systems Staff http://helix.nih.gov
Hi David
I'm trying to set up a mechanism to copy a local file using a setuid executable, based on whether the registered user has read access to the local file in question. Is there any means for a tool to know the registered user who is running it?
you can use the variable "$userEmail" in the tool definition file something like this <command>your_tool.pl $input $userEmail $output </command> and then it is down to your tool (or the wrapper you have written) to deal with the user's e-mail and do different thing depending on the user. Hope this helps, Regards, Hans
David Hoover Helix Systems Staff http://helix.nih.gov _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
participants (2)
-
David Hoover
-
Hans-Rudolf Hotz