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-----