Package: davfs2
Version: 0.2.8-1
Severity: grave
Justification: renders package unusable


I've installed a Debian Stable server with Apache2 and configured a
directory for WebDAVs. Konqueror connects with a webdavs:// URL and
works fine. I've installed davfs2 on my home Debian unstable and
mounted the WebDAVs share with the following command (as root):

mount -t davfs https://test.specsoft.hu:1443 /mnt/dav/test.specsoft.hu/

Note: The WebDAVs service is operated on the same NameVirtualHost as the
usual HTTP and HTTPS services, but on a different port (1443) to allow
handling of GET requests differently. This way PHP source files can be
downloaded by the WebDAV client and the server will not execute them.

DavFS2 asked for a username and password, then I accepted the certificate.
The share successfully mounted and can be handled as usual.

After trying to walk throug the directories with mc I realized that it
shows some directories, that does not exists. Then I quit from mc and
walk down in the directories with shell commands:

sirius:/mnt/dav/test.specsoft.hu# ls -la
drwx------ 1 root root  512 2006-05-01 02:47 .
drwxr-xr-x 3 root root 4096 2006-05-01 02:35 ..
drwx------ 1 root root  512 2006-04-29 01:28 editor
-rw------- 1 root root  130 2006-04-15 03:58 index.html
drwx------ 1 root root  512 2006-04-30 12:12 MailHandBook

sirius:/mnt/dav/test.specsoft.hu# cd editor/

sirius:/mnt/dav/test.specsoft.hu/editor# ls -la
drwx------ 1 root root   512 2006-04-29 01:28 .
drwx------ 1 root root   512 2006-05-01 02:47 ..
-rw------- 1 root root 13355 2006-04-29 01:28 index.php
-rw------- 1 root root   317 2006-04-29 01:28 static.php
drwx------ 1 root root   512 2006-04-29 01:28 templates
drwx------ 1 root root   512 2006-04-29 01:27 templates_c
drwx------ 1 root root   512 2006-04-29 01:28 tiny_mce

sirius:/mnt/dav/test.specsoft.hu/editor# cd tiny_mce/

sirius:/mnt/dav/test.specsoft.hu/editor/tiny_mce# ls -la
drwx------ 1 root root    512 2006-04-29 01:28 .
drwx------ 1 root root    512 2006-04-29 01:28 ..
-rw------- 1 root root    213 2006-04-29 01:28 blank.htm
drwx------ 1 root root    512 2006-04-29 01:28 langs
-rw------- 1 root root  23672 2006-04-29 01:28 license.txt
drwx------ 1 root root    512 2006-04-29 01:28 plugins
drwx------ 1 root root    512 2006-04-29 01:27 themes
drwx------ 1 root root    512 2006-04-29 01:28 tiny_mce
-rw------- 1 root root 130629 2006-04-29 01:28 tiny_mce.js
-rw------- 1 root root   7111 2006-04-29 01:28 tiny_mce_popup.js
-rw------- 1 root root 185194 2006-04-29 01:28 tiny_mce_src.js
drwx------ 1 root root    512 2006-04-29 01:28 utils

At this point ls -la shows a subdirectory, that _does not exist_
on the server: tiny_mce
This is strange. I've entered into it to show it's content:

sirius:/mnt/dav/test.specsoft.hu/editor/tiny_mce# cd tiny_mce

sirius:/mnt/dav/test.specsoft.hu/editor/tiny_mce/tiny_mce# ls -la
drwx------ 1 root root 512 2006-04-29 01:28 .
drwx------ 1 root root 512 2006-04-29 01:28 ..
?--------- ? ?    ?      ?                ? 
dAttribValues&&r.validAttribValues[an]&&!r.validAttribValues[an].test(av))return"";if(av.length!=0&&av=="
?--------- ? ?    ?      ?                ? 
E.isNotDirty=true;return;case"reset":var formObj=tinyMCE.isMSIE?win
?--------- ? ?    ?      ?                ? 
inyMCE.convertSpansToFonts(this.selectedInstance.getDoc());return h;}return 
null;};TinyMCE_Engine.prototype._fixList
?--------- ? ?    ?      ?                ? 
Levels.length--;this.undoIndex--;}b=inst.undoBookmark;if(!b)b=inst.selection.getBookmark();this.undoIndex++;thi
?--------- ? ?    ?      ?                ? 
ommand("mceInsertContent",false,"<strike>"+this.selection.getSelect
?--------- ? ?    ?      ?                ?  
TinyMCE_Engine(){this.majorVersion="2";this.minorVersion="0.5.1";this.releaseDate="2006-03-22";this.instances

I've got garbage! More specifically this is a section of tiny_mce.js,
which is a compressed JavaScript file. Compression means stripping out
of tabs, spaces and so on to save space on .js files.

Some directories show the same behaviour, some are not. If there is a
file with the same name as the directory that contains it, the file
contents will somehow mixed into the directory listing. This seems to
be a memory management problem around the new caching algorithm or
something else that can affect filenames listed in directories.

I can provide more details on request. Please drop me a mail.

I can send you an URL and user+password in a private e-mail
for a test share to allow you to reproduce and test this bug.

I think that the bug could be at the client side in davfs2 or neon.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-sirius-20051219-0354
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages davfs2 depends on:
ii  libc6                    2.3.6-7         GNU C Library: Shared libraries
ii  libneon25                0.25.5.dfsg-5   An HTTP and WebDAV client library
ii  libssl0.9.8              0.9.8a-8        SSL shared libraries
ii  libxml2                  2.6.23.dfsg.2-3 GNOME XML library
ii  zlib1g                   1:1.2.3-11      compression library - runtime

davfs2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to