This post only  to acknowledge that the fix proposed by Werner works (I
forgot to forward my answer to his mail to the DBTS).

Le mardi 04 mai 2010 à 22:18 +0200, Werner Baumann a écrit :
> If you remove the trailing slash from the mount point in /etc/fstab it
> should work (/home/charpent/alpha-dav instead
> of /home/charpent/alpha-dav/).
> It is a bug in davfs2 and I will fix it in the next release.
> 
> Directory ~/.davfs2 will only be created after some basic checks
> succeeded. In this case davfs2 terminated before it could create the
> directory. It should work now and I recommend to remove the hand-made
> one and let davfs2 create a clean template.
> 
> 
> Hello Luciano,
> 
> I don't know when I will do another bug fix release. If you package
> version 1.4.6 could you please apply this patch to src/mount_davfs.c?
> 
> --- mount_davfs.c.old   2010-05-04 21:33:28.000000000 +0200
> +++ mount_davfs.c       2010-05-04 21:50:08.000000000 +0200
> @@ -682,6 +682,12 @@
>  
>      setfsent();
>      struct fstab *ft = getfsfile(mpoint);
> +    if (!ft) {
> +        char *mp = NULL;
> +        if (asprintf(&mp, "%s/", mpoint) < 0) abort();
> +        ft = getfsfile(mp);
> +        if (mp) free(mp);
> +    }
>      if (!ft || !ft->fs_spec)
>          error(EXIT_FAILURE, 0, _("no entry for %s found in %s"), url,
>                _PATH_FSTAB);
> 
> Cheers
> Werner





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to