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

Re: pre-lock.bat Failed in Repo browser

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 9 Mar 2011 13:50:09 +0200

Michael Diers wrote on Wed, Mar 09, 2011 at 11:08:28 +0000:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2011-03-09 02:23, Daniel Shahaf wrote:
> > Michael Diers wrote on Tue, Mar 08, 2011 at 09:39:11 +0000:
> [...]
> >> Wild guess: are you perhaps using the file:// access method when
> >> browsing the repository? Hook scripts are run by the Subversion server
> >> process. Using the file:// access method effectively disables them.
> [...]
> > Are you sure? Last I checked, normal clients didn't do authn/authz over
> > file://, but did run hooks normally.
>
> Daniel,
>
> I stand corrected. When using the file:// access method the hook scripts
> are run, albeit in the client's context. This may or may not cause
> different behaviour to the "normal" way of running them in the server's
> context.

Due to, for example, being run as a different OS user.

(And while we're on this topic I'll remind that, over file://,
people can circumvent hook scripts by writing a custom svn client
that doesn't run them.)
Received on 2011-03-09 12:51:10 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.