subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: pre-lock.bat Failed in Repo browser
Date Wed, 09 Mar 2011 11:50:09 GMT
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.)

Mime
View raw message