You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Josef Wolf <jw...@raven.inka.de> on 2002/10/22 07:25:40 UTC

Specify the user when a command is run?

Hello!

I am writing a cgi-based administration tool for the svn server. Now,
when this script runs svn commands (e.g. the initial import of a
template directory when a new repos is created), those commands are
run as the apache user (e.g nobody.nogroup). Is there any way to
specify the user name that apache authenticated from the cgi script?

BTW: Those files use the file:///repos schema, if this makes any
     difference.

-- 
-- Josef Wolf -- jw@raven.inka.de --

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Specify the user when a command is run?

Posted by Rafael Garcia-Suarez <ra...@hexaflux.com>.
Josef Wolf <jw...@raven.inka.de> wrote:
> I am writing a cgi-based administration tool for the svn server. Now,
> when this script runs svn commands (e.g. the initial import of a
> template directory when a new repos is created), those commands are
> run as the apache user (e.g nobody.nogroup). Is there any way to
> specify the user name that apache authenticated from the cgi script?

The --username option should work, passing to it the appropriate environment
variable.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org