You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "WICKENS, Nicholas, GBM" <Ni...@rbos.com> on 2006/09/01 10:57:09 UTC

Commit of locked files fails with authorization on

Hi,
 
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?
 
Regards,
Nicholas

***********************************************************************************
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: 
http://www.rbos.com
http://www.rbsmarkets.com 
***********************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Commit of locked files fails with authorization on

Posted by Shaun Johnson <sh...@gmail.com>.
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]

Regards,
Shaun

On 9/1/06, WICKENS, Nicholas, GBM <Ni...@rbos.com> wrote:
>
> Hi,
>
> 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?
>
> Regards,
> Nicholas
>
>
> ***********************************************************************************
> 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:
> http://www.rbos.com
> http://www.rbsmarkets.com
>
> ***********************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>