can't create cache directory - directory name too long

Bug #1288869 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
davfs2 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi,

I am just trying to mount a Microsoft Sharepoint Server on an Ubuntu 14.04 machine through webdav with

mount -t davfs URL MOUNTPOINT

and get an error message

/sbin/mount.davfs: can't create cache directory ...

The reason is that mount.davfs tries to mkdir a directory in /var/cache/davfs/URL (where URL is the URL of the webdav dir).

Unfortunately the Sharepoint URLs are too long. It generates a cache directory file name which is too long for an ext4 file system. Therefore mount.davfs can't create the cache directory and therefore fails to mount.

It's a bug to use the URL as a Filename. It should use a hash oder allow to give the cache name as a parameter.

regards
Hadmut

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: davfs2 1.4.7-3
ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
Uname: Linux 3.13.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Mar 6 18:01:52 2014
InstallationDate: Installed on 2013-04-29 (311 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
SourcePackage: davfs2
UpgradeStatus: Upgraded to trusty on 2014-03-05 (1 days ago)
modified.conffile..etc.davfs2.secrets: [inaccessible: [Errno 13] Keine Berechtigung: '/etc/davfs2/secrets']

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Rolf Leggewie (r0lf)
Changed in davfs2 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Woodrow Shen (woodrow-shen) wrote :

Due to the bug was also reported by upstream, and it seems making a shorten URL is reasonable for upstream, so here I'd like to close it like the upstream bug.

[1] https://savannah.nongnu.org/support/?109941

Changed in davfs2 (Ubuntu):
status: Triaged → Invalid
Revision history for this message
yasar (ubuntu-bugreport-yait) wrote :

So you wan't to just close the case instead of fixing the Bug?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.