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

Re: Post-commit + Svn Update + Windows 2003 arghh

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-03-06 13:05:30 CET

On 3/6/07, makeyunbad <makeyunbad@gmail.com> wrote:
> 2006/6/9, Nathan Kidd <nathan-svn@spicycrypto.ca>:
> > Gonzalo Bourdieu wrote:
> > > I don't have any post-commit.bat, the post-commit hook is an .exe
> > >
> > > I'm using full paths to call svn so that couldn't be a problem (i think).
> > >
> > > the C# code is very simple, here you have it:
> > ...
> > > // Z is the mapped drive
> > > svnProgram.StartInfo.Arguments = "update Z:\\site\\project";
> >
> > Probably the user your svn service (svnserve / apache) runs under
> > doesn't have permission to see this Z:\ share. There are definitely
> > permission issues between logged in / unlogged in users when it comes to
> > accessing mapped drives.
> >
> > -Nathan
> >
> I have the same problem as Gonzalo Bourdieu. I think this is a true
> reason for mapped drive. When he run post-commit.exe from command
> line, everything works fine. So is permission a true reason? If I can
> access the mapped drive, how can I config the permission?

If no user is logged in, the drive probably won't be mapped - you'll
need to use the UNC path. You also need to ensure that the user
account under which Apache/svnserve runs on the SVN server has the
permissions it needs to perform whatever operations it does on that
network share.

Or, you could start your hook script with net use to map the drive to
a letter, using another username.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 6 13:05:58 2007

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.