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

writing to files with mod_dav_svn and davfs

From: Sterling Hughes <sterling_at_project-pint.org>
Date: 2003-11-23 23:12:44 CET

Hi,

I'm playing around with getting subversion, mod_dav_svn and
davfs (http://dav.sf.net/) working together. Currently, I have the
following setup:

mkdir /data/svn/
svnadmin create /data/svn/pint
svn import pint file:///data/svn/pint/pint
sudo chown -R shughes.www-data /data/svn/pint
sudo chmod -R 0774 /data/svn/pint

Then in my apache httpd.conf i have the following (under a VirtualHost).

<Location /svn>
        DAV svn
        SVNParentPath /data/svn/
        SVNAutoversioning on
</Location>

Now I can access the repositories via my web browser, and I'm very
happy. :) When I use the mount.davfs program to mount the directory

mkdir /home/shughes/pint/
mount -tdavfs -ouid=1000,gid=1000 "http://localhost:8080/svn/pint/pint/" /home/shughes/pint

I can go and view the files within my repository, but when I try and vim
a file. It says "swap file already exists" (standard message), because
it can't create a swap file itself. Then when I try and change then
save a file, I get "write access denied."

Then same problem happens when I "mv" a pristine file into the mounted
directory. Can anyone tell me what my problem is?

-Sterling

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 24 05:00:42 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.