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

Re: hook script basics

From: Brian Krusic <brian_at_krusic.com>
Date: 2007-08-02 22:17:00 CEST

Hi John,

1 thing it could be is that I was lazy and didn't set up a CA.

So my certs are self signed and don't match the server.

Perhaps the "certs don't match..." error is preventing this as the
script has no way of pressing accept. I'm unsure who this script
runs as anyways.

What do you think?

And is there a way of me configging SSL so that the error of non
matching certs doesn't come up?

I do plan to do a CA later this year (Its on my mile stones schedule
for this fall) however I would like to solve this now.


On Aug 2, 2007, at 5:40 AM, John Peacock wrote:

> Brian Krusic wrote:
>> Why isn't svn update working while as a post hook?
> Probably because you are trying to update a network resource which the
> Subversion service has no permission to update? Under Windows,
> services are
> [typically] executed by special local accounts, which do not have
> access to any
> networked (drive-mapped) resources. The batch file works as an
> ordinary user,
> because you have the appropriate drive map and rights to use the
> remote
> resource. The Subversion service cannot execute the same script
> because it
> doesn't have the drive map and if you added the 'net map' to the
> script, the
> service user would not have the rights in any case.
> What I do for our Windows servers is to install Cywin's sshd (SSH
> daemon), and
> then use SVN::Notify::Mirror:
> http://search.cpan.org/search?query=SVN-Notify-Mirror
> which I wrote specifically to permit complex update rules in a post-
> commit
> script (I use SVN::Notify::Config so that the script is the config
> file).
> John
> --
> John Peacock
> Director of Information Research and Technology
> Rowman & Littlefield Publishing Group
> 4501 Forbes Blvd
> Suite H
> Lanham, MD 20706
> 301-459-3366 x.5010
> fax 301-429-5747
Received on Thu Aug 2 22:15:49 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.