Mounted webdav ok, but states not a directory

Help
Barleyman
2006-06-18
2013-04-16
  • Barleyman
    Barleyman
    2006-06-18

    Running Slax linux
    neon-0.25.5
    davfs2 1.0.2

    #mkdir /mnt/s3
    #mount.davfs http://localhost:2667 /mnt/s3 -o nolocks

    root@slax:/mnt/s3# ls
    /bin/ls: reading directory .: Not a directory

    Can't ls mounted directory, but I can copy files to it and they show up on webdav server.

    I am sure I am doing something stupid, but I don't know what is.  Thanks in advance for your help.

     
    • Werner Baumann
      Werner Baumann
      2006-06-19

      Hello,

      I can't reproduce the error but I also can't see something stupid you are doing.

      So it looks like a bug and gets a little more complicated, and I need your help.

      I asume you compiled from the source package (as you use neon-0.25.5). Please configure again with option --enable-debug, compile and  install.

      Now there will be a lot of debug message in one of your systems log files (which file depends on your system configuration). Please send me this messages, especially what happens when you issue the ls command. There should be lines like

      CODA_ACCESS:
         n 0x8069448, f 4
         root
         return: 0
      CODA_OPEN_BY_FD:
         n 0x8069448, f 1
         pid 5670, pgid 5670
         root
         return: OK
      CODA_RELEASE:
         n 0x8069448, f 1
         pid 5670, pgid 5670
         root
         return: 0

      Every "return:" with a non zero number is of special interest. The return code for "Not a directory" = ENOTDIR is 20.

      You may also look in the log files for message from coda and neon.

      Greetings
      Werner