si wrote:
> Greetings,
> 
> One of our developers fell into the following trap, it's the second time
> I've seen it happen, albeit in the 5-6 years we've been using
> Subversion, but I'd thought it worth mentioning.
> 
> Summary: Checkout and Update will work fine if the repository name in
> the URL is incorrect due to case-sensitivity, but Commit will fail if
> repository name is specified in authz-db.
> 
> Steps to reproduce:
> 
> svnserve is running on localhost
> 
> cd \temp
> svnadmin create testrepo
> edit svnserve.conf - enable password-db and authz-db
> edit password-db - enable user harry
> edit authz-db so that testrepo is a named repository
> [testrepo:/]
> harry = rw
> * =
> 
> svn co svn://localhost/TESTREPO wc --username harry --password harryssecret
> Checkout out revision 0.
> svn up wc
> At revision 0.
> echo > wc\test.txt
> svn add wc\test.txt
> A      wc\test.txt
> 
> svn ci wc --username harry --password harryssecret -m "add test"
> svn: Commit failed (details follow):
> svn: Authorization failed
> 
> 
> Problem can be easily fixed by relocating working copy:
> 
> svn switch --relocate svn://localhost/TESTREPO svn://localhost/testrepo wc
> svn ci wc --username harry --password harryssecret -m "add test"
> Adding         wc\test.txt
> Transmitting file data .
> Committed revision 1.
> 
> 
> Hope that saves someone else some frustration.
> 
> Personally I would have expected the checkout or update to fail, so that
> the read operation is working the same as the write operation...
You should report this to the Subversion mailing list.
Stefan
-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=985079
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2008-12-16 17:30:58 CET