I believe this is caused by the hoster not implementing quota-available-
bytes and quota-used-bytes as defined in RFC 4331
(www.ietf.org/rfc/rfc4331.txt).  Nonetheless, even if this is the case,
davfs2 should not return some fantasy value.

Here is the information I collected with cadaver from two hosters. The
first one is Strato and does not return a value for above variables
while the second one does.  The second hoster is also showing correctly
in df.

Strato as dav host:
dav:/users/XYZ/> propget .
Fetching properties for `.':
DAV: resourcetype = <DAV:collection></DAV:collection>
DAV: creationdate = 2015-03-05T06:27:07Z
DAV: getlastmodified = Thu, 05 Mar 2015 06:27:07 GMT
DAV: getetag = "a-b-51084a83426d1"
DAV: supportedlock = 
<DAV:lockentry>
<DAV:lockscope><DAV:exclusive></DAV:exclusive></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>
<DAV:lockentry>
<DAV:lockscope><DAV:shared></DAV:shared></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>

DAV: lockdiscovery =


Other dav hoster:
dav:/> propget .
Fetching properties for `.':
http://webdav.org/cadaver/custom-properties/ imageheight = unknown
http://webdav.org/cadaver/custom-properties/ thumbnailuri = unknown
http://webdav.org/cadaver/custom-properties/ imagewidth = unknown
DAV: supportedlock = 
<DAV:lockentry>
<DAV:lockscope><DAV:exclusive></DAV:exclusive></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>

DAV: iscollection = TRUE
DAV: resourcetype = 
<DAV:collection></DAV:collection>
DAV: creationdate = Thu, 05 Mar 2015 15:06:11 GMT
DAV: lockdiscovery = 

DAV: quota-used-bytes = 490387428
DAV: isreadonly = FALSE
DAV: quota-available-bytes = 26353158172
DAV: getcontenttype = text/html; charset=utf-8
DAV: name = 
DAV: getcontentlength = 0
DAV: getlastmodified = Thu, 05 Mar 2015 15:06:11 GMT
DAV: getcreated = Thu, 05 Mar 2015 15:06:11 GMT
DAV: getetag = "0-0-0-1425567971028"
DAV: displayname =

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052595

Title:
  incorrect size information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/1052595/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to