Bug 3828 - Davfs only mounts Calenco share read-only
Summary: Davfs only mounts Calenco share read-only
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 14:38 CET by John Rye
Modified: 2012-11-17 18:48 CET (History)
8 users (show)

See Also:
Source RPM: davfs2-1.4.6-1.mga1
CVE:
Status comment:


Attachments
davfs2.spec patch (2.20 KB, patch)
2012-05-25 13:47 CEST, Mészáros Csaba
Details | Diff

Description John Rye 2011-12-20 14:38:29 CET
Description of problem:
Unable to mount a remote webdav URL as $USER using davfs.
Mounting as $ROOT using 'mount -a' does work but mounts remote files
read-only and owned by root.

Version-Release number of selected component (if applicable):


How reproducible:
Every time


Steps to Reproduce:
1. Configure via mcc>network sharing> access webdav (etc)
   Dest URL: http://vargas.calenco.com:8284/workspaces/Documentation/content/en
   Local URL: /mnt/calenco-webdav
   enter username and password.
   Quit

2. view/etc/fstab, entry as expected:
http://vargas.calenco.com:8284/workspaces/Documentation/content/en /mnt/calenco-webdav davfs2 user,noauto 0 0

3. Add local user to davfs2 group

4. Edit line 24 /etc/davfs2/davfs2.conf

ignore_home     kernoops,distccd # system wide config file only

otherwise an error about / being owned by kernoops is returned:

5. As $USER:   mount /mnt/calenco-wevdav

6. [john@amd64 ~]$ mount /mnt/calenco-webdav
/sbin/mount.davfs2: different file system type in /etc/fstab

7. Mageia Official Docs are blocked until this bug is resolved

8. Bug Assignee: Please contact reporter for test credentials
Comment 1 Marja Van Waes 2011-12-20 14:45:18 CET
For the work on our new documentation, it is vital that this bug gets fixed. 

cc'ing some past committers of davfs2 and cc'ing docteam

CC: (none) => doc-bugs, ennael1, fundawang, marja11, thierry.vignaud

Comment 2 claire robinson 2011-12-20 14:54:54 CET
I think this is maybe due to the symlinks in /usr/sbin

We actually have /usr/sbin/mount.davfs but the mount type is davfs2

/usr/sbin/mount.davfs2 is linked to /usr/sbin/mount.davfs
claire robinson 2011-12-20 14:55:12 CET

Priority: Normal => High

Comment 3 John Rye 2011-12-20 15:03:26 CET
I didn't explore links - I expect this type utility to work out of the box.

It works/worked as expected on Ubuntu 7.04, 9.10, 10.10, OpenSUSE 11.1, Linux Mint, Novels SLES-10-sp3 and Fedora 11 (all in VMs)
Marja Van Waes 2012-02-06 13:58:15 CET

CC: (none) => doktor5000

Comment 4 Florian Hubold 2012-02-06 17:55:44 CET
Actually the problem is not in a webdav share being mountable by a user vs. mountable by root, but the mount was always read-only, and even Camille didn't know why that was the case. Didn't matter if we used the mageia-packaged davfs2 or if we built it from source.
Comment 5 John Rye 2012-02-06 20:23:22 CET
(In reply to comment #4)
> Actually the problem is not in a webdav share being mountable by a user vs.
> mountable by root, but the mount was always read-only, and even Camille didn't
> know why that was the case. Didn't matter if we used the mageia-packaged davfs2
> or if we built it from source.

Agreed. however the problem with the davfs symlinks needs to be fixed.

This is what the bug refers to, not Calenco
Remco Rijnders 2012-04-11 20:30:54 CEST

CC: (none) => remco

Comment 6 Mészáros Csaba 2012-05-19 01:13:22 CEST
A feasible, and effective solution to the following:
rm-f /usr/sbin/mount.davfs2
rm-f /usr/sbin/umount.davfs2
rm-f /sbin/mount.davfs2
rm-f /sbin/umount.davfs2
ln-s /usr/sbin/mount.davfs /sbin/
ln-s /usr/sbin/umount.davfs /sbin/

CC: (none) => csablak

Comment 7 Mészáros Csaba 2012-05-25 13:47:09 CEST
Created attachment 2371 [details]
davfs2.spec patch

webdav access - davfs2.spec patch
Comment 8 Marja Van Waes 2012-05-25 15:20:08 CEST
(In reply to comment #7)
> Created attachment 2371 [details]
> davfs2.spec patch
> 
> webdav access - davfs2.spec patch

Thanks a lot, Mészáros!

Unfortunately, we do not have a maintainer for davfs2

If you have enough time, could you please consider becoming a Mageia packager?

https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

If you're already a Mandriva packager (I don't know), this should go really fast.
Comment 9 Manuel Hiebel 2012-11-05 16:50:59 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 10 Marja Van Waes 2012-11-05 18:35:01 CET
Still valid for Mageia 2, has anyone tested with cauldron recently?

Version: 1 => 2

Comment 11 Marja Van Waes 2012-11-17 18:48:05 CET
Fixed with new webdav support in Calenco 2.6 :)

It is now perfectly possible to save changes to our Calenco space, using webdav.

Thanks Camille!

Status: NEW => RESOLVED
Resolution: (none) => FIXED
Summary: Davfs fails to mount remote url => Davfs only mounts Calenco share read-only


Note You need to log in before you can comment on or make changes to this bug.