davfs2 - Problem

Reinhard Sy sterntaler.10 at googlemail.com
Fri Sep 16 07:46:58 UTC 2011


Hi,

I have problem in using davfs2.

I can mount the filesystem and can remove files from the fs but could
not create any file on the davfs.

I am running FC14 and the davfs2 packages is FC13
(davfs2-1.4.5-2.fc13.i686)

My /etc/fstab looks like:

# BOX NET
https://www.box.net/dav /media/box.net davfs
rw,noauto,user,uid=500,gid=100 0 0


I mount the drive as su like:

sudo mount /media/box.net
~ $ df
Dateisystem           Size  Used Avail Use% Eingehängt auf
/dev/mapper/vg_gibi-lv_root
                       50G   25G   23G  52% /
tmpfs                 2,0G  112K  2,0G   1% /dev/shm
/dev/sda1             485M   66M  394M  15% /boot
/dev/mapper/vg_gibi-lv_home
                      404G  367G   17G  96% /home
/dev/sdb1             7,5G  7,3G  203M  98% /media/LACIE
https://www.box.net/dav
                       26G   13G   13G  50% /media/box.net


I can list the filesystem:

ll /media/box.net/
insgesamt 12M
drwxr-xr-x  9 rsy  users  244 16. Sep 09:35 ./
drwxr-xr-x. 4 root root  4,0K 16. Sep 08:10 ../
drwxr-xr-x  3 rsy  users   56  8. Sep 12:06 Bilder/
drwxr-xr-x  2 rsy  users   84 14. Sep 00:57 CEDMS/
drwxr-xr-x  4 rsy  users  132  9. Sep 09:49 Docs/
drwxr-xr-x  2 rsy  users  884  4. Sep 00:47 Hoerspiel/
drwxr-xr-x  2 rsy  users   36 12. Sep 12:37 Kinder/
drwx------  2 rsy  users   36 15. Sep 23:03 lost+found/
drwxr-xr-x  2 rsy  users   36 16. Sep 08:22 Musik/
-rw-r--r--  1 rsy  users 4,9M 15. Sep 15:10 R_Entwicklungsumgebung.ppt
-rw-r--r--  1 rsy  users 7,1M 15. Sep 13:17 vf_0911_update_ohneLinks.pdf
-rw-r--r--  1 rsy  users  161 15. Sep 11:09 VPNC-group.txt



The user and group setting are correct (UID=500(rsy), and GID
=100(users)

If I try to copy a file to /media/box.net I got:

% cp bin/pefrename.sh /media/box.net
cp: reguläre Datei „/media/box.net/pefrename.sh“ kann nicht angelegt
werden: Eingabe-/Ausgabefehler

Translation: Regular file :  could not create file :IO Error

Is there any flag to enable adding a file to the filesystem ? 
Removing a file is no problem.

Thanks for any hint

Reinhard



More information about the users mailing list