[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Frustration with Hooks

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 22 Feb 2008 09:53:58 -0500

On Fri, Feb 22, 2008 at 9:34 AM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Fri, Feb 22, 2008 at 9:28 AM, JD <mechalincoln_at_gmail.com> wrote:
> > The folder creation works, but subversion won't even touch the network
> > drive. I've given Apache permissions on both machines to do whatever it
> > needs (e.g. a user with permissions on the specified folders, with the
> > network drive set to accept it), but that doesn't help. It also doesn't
> > change anything if I map the UNC path to X:\.
>
> Subversion's hook scripts are run in a nearly-empty environment for
> security reasons. Try specifying the full path to your svn.exe.
>
> Mapping a drive definitely won't help, because drive mappings are only
> for the logged-on user.

I will also add that the Apache service will have to be changed so
that it is running as an account with the necessary credentials to
access those network resources. The default account that a Windows
service runs as does not have permission to access network resources.
If you are in an Active Directory domain you need to have Apache run
as an account from the domain with necessary access rights.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-22 15:54:25 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.