davfs does not display webdav structure

Discussion in 'Technical' started by dqlevitt, Sep 16, 2010.

  1. dqlevitt

    dqlevitt New Member

    I have installed davfs2 and am able to mount a drive:
    # mount -t davfs http://myserver:7776/mum/mycontenthandler/mm/dav/filestore folder_created_to_display_webdav

    I am using TCPMON to monitor the connection (listening on port 7776).

    After the mount I cd to folder_created_to_display_webdav and do a dir.

    In TCPMON I see the PROPFIND request:

    PROPFIND /mum/mycontenthandler/mm/dav/filestore/ HTTP/1.1
    Host: 127.0.0.1:7776
    User-Agent: davfs2/1.3.3 neon/0.28.6
    Connection: TE
    TE: trailers
    Depth: 1
    Content-Length: 314
    Content-Type: application/xml
    Authorization: Basic YWRtaW46YWRtaW4=

    <?xml version="1.0" encoding="utf-8"?>
    <propfind xmlns="DAV:"><prop>
    <displayname xmlns="DAV:"/>
    <getetag xmlns="DAV:"/>
    <getcontentlength xmlns="DAV:"/>
    <creationdate xmlns="DAV:"/>
    <getlastmodified xmlns="DAV:"/>
    <resourcetype xmlns="DAV:"/>
    <executable xmlns="http://apache.org/dav/props/"/>
    </prop></propfind>
    PROPFIND /mum/mycontenthandler/mm/dav/filestore/ HTTP/1.1
    Host: 9.76.64.245:7776
    User-Agent: davfs2/1.3.3 neon/0.28.6
    Connection: TE
    TE: trailers
    Depth: 0
    Content-Length: 159
    Content-Type: application/xml
    Authorization: Basic YWRtaW46YWRtaW4=

    The response looks normal. That is, it is finding all the correct information in the WebDAV hierarchy (see below).

    But the result of the "dir" command (in folder_created_to_display_webdav) only displays LOST + FOUND.

    Why is it not displays the data returned from the PROPFIND?

    Thanks.

    - Dave

    ************

    here's the PROPFIND response:

    <?xml version="1.0" encoding="UTF-8"?>

    <dav:multistatus xmlns:dav="DAV:">

    <dav:response>

    <dav:href>/mum/mycontenthandler/mm/dav//</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
    <dav:getcontentlength>0</dav:getcontentlength>
    <dav:resourcetype><dav:collection/></dav:resourcetype>
    <dav:creationdate>2010-09-15T21:01:53.234Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>

    </dav:response>


    <dav:response>
    <dav:href>/mum/mycontenthandler/mm/dav//_users/</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:02:15 GMT</dav:getlastmodified>
    <dav:getcontentlength>0</dav:getcontentlength>
    <dav:resourcetype><dav:collection/></dav:resourcetype>
    <dav:creationdate>2010-09-15T21:02:15.656Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>

    </dav:response>


    <dav:response>

    <dav:href>/mum/mycontenthandler/mm/dav//access-control.xml</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
    <dav:getcontentlength>561</dav:getcontentlength>
    <dav:resourcetype/>
    <dav:creationdate>2010-09-15T21:01:53.296Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>

    </dav:response>


    <dav:response>
    <dav:href>/mum/mycontenthandler/mm/dav//layout-templates/</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:02:02 GMT</dav:getlastmodified>
    <dav:getcontentlength>0</dav:getcontentlength>
    <dav:resourcetype><dav:collection/></dav:resourcetype>
    <dav:creationdate>2010-09-15T21:02:02.921Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>

    </dav:response>


    <dav:response>

    <dav:href>/mum/mycontenthandler/mm/dav//public/</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:02:05 GMT</dav:getlastmodified>
    <dav:getcontentlength>0</dav:getcontentlength>
    <dav:resourcetype><dav:collection/></dav:resourcetype>
    <dav:creationdate>2010-09-15T21:02:05.078Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>
    </dav:response>

    <dav:response>
    <dav:href>/mum/mycontenthandler/mm/dav//common-resources/</dav:href>
    <dav:propstat>
    <dav:prop>
    <dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
    <dav:getcontentlength>0</dav:getcontentlength>
    <dav:resourcetype><dav:collection/></dav:resourcetype>
    <dav:creationdate>2010-09-15T21:01:53.546Z</dav:creationdate>
    </dav:prop>
    <dav:status>HTTP/1.1 200 OK</dav:status>
    </dav:propstat>

    <dav:propstat>
    <dav:prop>
    <dav:getetag/>
    <dav:displayname/>
    </dav:prop>
    <dav:status>HTTP/1.1 404 Not Found</dav:status>
    </dav:propstat>

    </dav:response>

    </dav:multistatus>
     

Share This Page