I've been using apache2+mod_dav_svn with "SVNAutoversioning on" before on older Ubuntu servers with Subversion 1.4.6 without problems.
Now i've installed Ubuntu 12.04 and when i try to create a directory with my webdav client (Mac OSX Finder) i get a permission denied message - but the directory is created anyway.
I've located the problem to the MKCOL (create directory) command. If i telnet to apache on port 80 and send the command MKCOL /mynewdirectory HTTP/1.1\nHost: myexample.com the connection closes and i can see in the apache error_log that the apache child process dies.
I've been using apache2+mod_dav_svn with "SVNAutoversioning on" before on older Ubuntu servers with Subversion 1.4.6 without problems.
Now i've installed Ubuntu 12.04 and when i try to create a directory with my webdav client (Mac OSX Finder) i get a permission denied message - but the directory is created anyway.
I've located the problem to the MKCOL (create directory) command. If i telnet to apache on port 80 and send the command MKCOL /mynewdirectory HTTP/1.1\nHost: myexample.com the connection closes and i can see in the apache error_log that the apache child process dies.
==> /var/log/ apache2/ error.log <== buildd/ subversion- 1.6.17dfsg/ subversion/ libsvn_ subr/path. c:368: svn_path_dirname: Assertion `svn_path_ is_canonical( path, pool)' failed.
apache2: /build/
[Tue Sep 11 20:11:13 2012] [notice] child pid 8655 exit signal Aborted (6)
==> /var/log/ apache2/ access. log <== 2012:20: 21:05 +0000] "MKCOL /untitled%20folder HTTP/1.1" 405 1560 "-" "WebDAVFS/1.8.3 (01838000) Darwin/10.8.0 (i386)"
[13/Sep/
Mac OSX Finder error message:
The operation can’t be completed because you don’t have the necessary permission.
lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
subversion: archive. ubuntu. com/ubuntu/ precise/main amd64 Packages dpkg/status
Installed: 1.6.17dfsg-3ubuntu3
Candidate: 1.6.17dfsg-3ubuntu3
Version table:
*** 1.6.17dfsg-3ubuntu3 0
500 http://
100 /var/lib/
libapache2-svn: archive. ubuntu. com/ubuntu/ precise/universe amd64 Packages dpkg/status
Installed: 1.6.17dfsg-3ubuntu3
Candidate: 1.6.17dfsg-3ubuntu3
Version table:
*** 1.6.17dfsg-3ubuntu3 0
500 http://
100 /var/lib/
Also tested on Ubuntu Quantal 12.10 and Subversion 1.7.5-1ubuntu1:
==> /var/log/ apache2/ error.log <== buildd/ subversion- 1.7.5/subversio n/libsvn_ subr/dirent_ uri.c:2501: svn_fspath_ _dirname: Assertion `svn_fspath_ _is_canonical( fspath) ' failed.
apache2: /build/
[Thu Sep 13 20:21:05 2012] [notice] child pid 32062 exit signal Aborted (6)