You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James <tr...@jacsystems.co.uk> on 2005/05/27 17:20:41 UTC

DAV:cannot-modify-version-controlled-content

Hi there, I'm running subversion 1.2 rc4 and trying to operate WebDav on 
Apache 2.0.54 and need a fresh pair of eyes to help me out!

I can attach via DAB to my repository via IE using a Windows web folder 
on a Win 2k machine and copy stuff from it but whenever I try to add or 
replace anything on the box, I just keep getting either:

[Fri May 27 17:40:26 2005] [error] [client 127.0.0.1] (2)No such file or 
directory: <DAV:cannot-modify-checked-in-parent>  [409, #0]
[Fri May 27 17:40:26 2005] [error] [client 127.0.0.1] (2)No such file or 
directory: <DAV:cannot-modify-checked-in-parent>  [409, #0]

or sometimes even
[Fri May 27 18:14:10 2005] [error] [client 127.0.0.1] (2)No such file or 
directory: <DAV:cannot-modify-version-controlled-content>  [409, #0]
[Fri May 27 18:14:10 2005] [error] [client 127.0.0.1] (84)Invalid or 
incomplete multibyte or wide character: 
<DAV:cannot-modify-version-controlled-content>  [409, #0]

I'm almost certain my permissions on the actual repository folders are 
okay, the owner and group are the same as the apache server and the 
group can write to everything.  I have the following in my httpd.conf 
and I get the bog standard username password prompt for basic 
authentication which I pass through:

DavLockDB var/dav_lock_db
<Location /svn/repos>
   DAV svn
   SVNPath /usr/local/svn/repos
   # Limit write permission to list of valid users.
   <LimitExcept GET PROPFIND OPTIONS POST LOCK UNLOCK PROPFIND PROPPATCH 
COPY MOVE MKCOL>
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/httpd/passwd/passwords
  # only authenticated users may access the repository
  Require valid-user
   </LimitExcept>
</Location>

Any ideas would be most welcome!


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

Re: DAV:cannot-modify-version-controlled-content

Posted by James <tr...@jacsystems.co.uk>.
>If that is your complete configuration, then you are missing:
 >SVNAutoversioning on
 >Mark

Yup, that's sorted it.  Doh.

Thanks for your help!


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

Re: DAV:cannot-modify-version-controlled-content

Posted by Ben Collins-Sussman <su...@collab.net>.
On May 27, 2005, at 12:26 PM, Mark Phippard wrote:
>
> If that is your complete configuration, then you are missing:
>
> SVNAutoversioning on
>

But it might be wise to understand what autoversioning is.  I suggest  
you read this part of the book:

    http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.webdav

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

Re: DAV:cannot-modify-version-controlled-content

Posted by Mark Phippard <Ma...@softlanding.com>.
James <tr...@jacsystems.co.uk> wrote on 05/27/2005 01:20:41 PM:

> DavLockDB var/dav_lock_db
> <Location /svn/repos>
>    DAV svn
>    SVNPath /usr/local/svn/repos
>    # Limit write permission to list of valid users.
>    <LimitExcept GET PROPFIND OPTIONS POST LOCK UNLOCK PROPFIND PROPPATCH 

> COPY MOVE MKCOL>
>    AuthType Basic
>    AuthName "Subversion Repository"
>    AuthUserFile /etc/httpd/passwd/passwords
>   # only authenticated users may access the repository
>   Require valid-user
>    </LimitExcept>
> </Location>

If that is your complete configuration, then you are missing:

SVNAutoversioning on

Mark


_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________

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