[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 04:23:10 +0200

Michael Diers wrote on Tue, Mar 08, 2011 at 09:39:11 +0000:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2011-03-08 06:51, Waseem Bokhari wrote:
> > Hi Experts!
> > Below is the "pre-lock.bat " Script ....
> >
> > Only User who lock the file can unlock the file. Other users are
> > forbidden to Unlock file.
> [...]
> > *Issue/Problem!!*
> >
> > This scenario failed in Repo Browser. Any one can Unlock File/Folder
> > through Repo Browser.
> >
> > Please advice me accordingly.
>
> Waseem,
>
> that's too little information to give advice. Tell us about your
> repository and client setup.
>
> 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.

> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-repository.html#tsvn-repository-create
>
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-repository-hooks.html
>
> - --
> Michael Diers, elego Software Solutions GmbH, http://www.elego.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk11+T8ACgkQcEKlWnqVgz3cWgCgrGAuUSuFjKjf0U/+fM2/kZoR
> gucAnRgp1IFwcqHsvgtkyCH+789pG18z
> =GSif
> -----END PGP SIGNATURE-----
Received on 2011-03-09 03:24:09 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.