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

RE: Commit of locked files fails with authorization on

From: WICKENS, Nicholas, GBM <Nicholas.WICKENS_at_rbos.com>
Date: 2006-09-01 14:35:26 CEST


Unfortunately this isn't the problem as the none of the paths in the authz
file have trailing /.

Furthermore we can commit any files without any problems just as long as we
don't have a lock on them at the time of doing the commit. If we release
the lock immediately before performing the commit then it all works fine but
it won't let us commit a file if it is locked at the time.


From: Shaun Johnson [mailto:shaun.johnson@gmail.com]
Sent: 01 September 2006 13:27
Hi Nicholas,

I had a similar problem in the past with path based authorization (I didn't
try locking first though) and I found that the cause was the way in which I
specified paths in the authz file. When you specify a path make sure you
don't leave a trailing / at the end of the path. Something like
[repos:/source/project/trunk/] will not work. You'll get errors trying to
commit within that path. Instead you would use [repos:/source/project/trunk]


On 9/1/06, WICKENS, Nicholas, GBM <Nicholas.WICKENS@rbos.com> wrote:

We are running Subversion v1.3.2 on an apache server and are attempting to
set up path based authorization to the repository.

When we switch on the authorization everything seems to work fine until we
attempt to commit a locked file. When we try to do this we get an
"Authorization Failed" error message. If we release the lock first and then

perform the commit then everything works fine. Alternatively switching off
the authorization allows the file to be committed whilst locked.

Can anyone help to get this working?


The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 1 14:37:02 2006

This is an archived mail posted to the Subversion Users mailing list.