To follow up, here's what my access log looks like for, AFAICT, the
request in question:
IP Omitted - - [18/May/2009:11:18:50 -0400] "OPTIONS /repos/foo HTTP/
1.1" 401 481
IP Omitted - Username omitted [18/May/2009:11:18:50 -0400] "OPTIONS /
repos/foo HTTP/1.1" 200 -
IP Omitted - Username omitted [18/May/2009:11:18:51 -0400] "PROPFIND /
repos/foo HTTP/1.1" 207 676
IP Omitted - Username omitted [18/May/2009:11:18:51 -0400] "OPTIONS /
repos/foo HTTP/1.1" 200 185
IP Omitted - Username omitted [18/May/2009:11:18:51 -0400]
"MKACTIVITY /repos/!svn/act/c8075a52-7b17-4377-a878-98ba78cfefde HTTP/
1.1" 201 306
IP Omitted - Username omitted [18/May/2009:11:18:51 -0400] "PROPFIND /
repos/!svn/vcc/default HTTP/1.1" 207 392
IP Omitted - Username omitted [18/May/2009:11:18:52 -0400] "CHECKOUT /
repos/!svn/bln/2 HTTP/1.1" 201 320
IP Omitted - Username omitted [18/May/2009:11:18:52 -0400] "PROPPATCH /
repos/!svn/wbl/c8075a52-7b17-4377-a878-98ba78cfefde/2 HTTP/1.1" 207 457
IP Omitted - Username omitted [18/May/2009:11:18:52 -0400] "PROPFIND /
repos/foo HTTP/1.1" 207 384
IP Omitted - Username omitted [18/May/2009:11:18:52 -0400] "CHECKOUT /
repos/!svn/ver/2/foo HTTP/1.1" 201 322
IP Omitted - Username omitted [18/May/2009:11:18:52 -0400] "PROPFIND /
repos/!svn/wrk/c8075a52-7b17-4377-a878-98ba78cfefde/foo/tmp.txt HTTP/
1.1"
403 4684
IP Omitted - Username omitted [18/May/2009:11:18:53 -0400] "DELETE /
repos/!svn/act/c8075a52-7b17-4377-a878-98ba78cfefde HTTP/1.1" 204 -
Thanks,
Grant
On May 18, 2009, at 9:52 AM, Grant Ingersoll wrote:
> Hi,
>
> I'm a having a bit of trouble getting SVN 1.6.2 [1] up and running. I
> am able to create my repository and I can checkout from it and browse
> to it via web browser, etc. The problem comes in when I try to
> commit. To summarize, I can add and commit directories, but I can
> not commit files into those directories.
>
> First off, I can commit a directory, as in:
>> svn co https://my.domain.com/repos
>> cd repos
>> mkdir foo
>> svn add foo
>> svn ci -m "" foo
> Adding foo
>
> Committed revision 1.
>
> Then, I switch into foo
>> cd foo
>> emacs tmp.txt //add some stuff to the file
>> svn add tmp.txt
>> svn ci -m "commit tmp" tmp.txt
> Adding tmp.txt
> svn: Commit failed (details follow):
> svn: Server sent unexpected return value (403 Forbidden) in response
> to PROPFIND request for '/repos/!svn/wrk/167b070c-ba0a-4504-b3da-
> d5ff3e9b60ea/foo/tmp.txt'
>
> Here's my httpd.conf setup:
> <Location /repos>
> SVNReposName "Lucid SVN Repository"
> DAV svn
> SVNPath <Path to SVN>
> # Enable WebDAV automatic versioning
> # SVNAutoversioning On
> # Enable repository listing when browing the Location root
> # SVNListParentPath On
> # Do basic password authentication in the clear
> AuthType Basic
> # The name of the protected area or "realm"
> AuthName "SVN"
> # Make LDAP the authentication mechanism
> AuthBasicProvider ldap
> # Make LDAP authentication is final
> AuthzLDAPAuthoritative on
> # The LDAP query URL
> AuthLDAPURL <EXCLUDED>
> AuthLDAPBindDN uid=<EXCLUDED>
> AuthLDAPBindPassword <EXCLUDED>
> # Require a valid user
> AuthzSVNAccessFile <Path to auth file>
> #SVNPathAuthz short_circuit
> Require valid-user
> </Location>
>
> When I look in my logs, I see "Access granted: 'my.user' PROPFIND
> repos:/foo" in several places
>
> I've also tried it without the LDAP authorization and the access file,
> and still get the same error (yes, I restarted httpd). I've also
> verified all the paths are correct, etc. (I can browse to the
> repository, including via svn list and I can check out, too)
>
> I've also tried putting in LimitExcept per http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.serverconfig.httpd.authz.blanket
> , but that just shifts the error.
>
> I'm running httpd 2.2.
>
> One curiosity that I cannot explain at all is that I had
> SVNAutoversion uncommented it and then I could "commit" files via a
> WebDAV client simply by dragging and dropping a file onto the mounted
> drive (ie by connecting my Mac to SVN as web dav), but I still could
> not commit via the command line.
>
> Anyone have any ideas on what to try?
>
> Thanks in advance,
> Grant
>
>
> [1] svn --version
> svn, version 1.6.2 (r37639)
> compiled May 10 2009, 12:18:53
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2300050
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org
> ].
--------------------------
Grant Ingersoll
http://www.lucidimagination.com/
Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
using Solr/Lucene:
http://www.lucidimagination.com/search
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2300802
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 17:23:08 CEST