[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: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-03-06 18:15:05 CET

[Please keep replies on the list]

makeyunbad wrote:
>> 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.
> 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?

When you run post-commit.exe from the command line it is running as the
user you are logged in as. When subversion runs post-commit.exe it runs
  as the user the svn service (svnserve / apache) are running as
(usually a completely different user).

> If I can
> access the mapped drive, how can I config the permission?

Configure what user is running your svn service as:

1. Start -> Run -> services.msc
2. Find your Subverison service in the list, right-click -> Properties
3. Log On tab -> Log on as: "This account"
4. Enter a user with rights to access the network resource.

You could also experiment with "Allow service to interact with desktop".

However, your setup will be much more robust if you can avoid requiring
networked resources to be available in order for your hook scripts to
successfully run.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 6 18:12:54 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.