can't create cache directory - directory name too long
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/
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
ProcVersionSign
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.
Changed in davfs2 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
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