Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 10236] - MOVE method loses last character off of file name

From: <bugzilla(at)apache.org>
Date: Sun Aug 11 2002 - 10:46:08 EDT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10236>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10236

MOVE method loses last character off of file name

Michael.Dean@detir.qld.gov.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |
  • Additional Comments From Michael.Dean@detir.qld.gov.au 2002-08-11 14:46 ------- i've just tried this on FreeBSD with the same problem

FreeBSD ns1 4.5-STABLE FreeBSD 4.5-STABLE #3: Sat Jun 15 20:56:26 EST 2002 mwd@ns1:/usr/obj/usr/src/sys/NS1FW i386

compiled with

ns1:/web/webdav/test # gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]

configure options were minimal ...

./configure --prefix=/web/server/apache2 --enable-dav && make && make install

Do you need help?X

ns1:/web/webdav/test # ldd /web/server/apache2/bin/httpd /web/server/apache2/bin/httpd:

        libaprutil.so.0 => /web/server/apache2/lib/libaprutil.so.0 (0x280d8000)
        libexpat.so.1 => /web/server/apache2/lib/libexpat.so.1 (0x280ea000)
        libapr.so.0 => /web/server/apache2/lib/libapr.so.0 (0x28106000)
        libm.so.2 => /usr/lib/libm.so.2 (0x2811e000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2813a000)
        libc.so.4 => /usr/lib/libc.so.4 (0x28153000)

and in the httpd.conf the only things changed were

-----httpd.conf-----

    Listen 8800
    User www
    Group www

    ServerName ns1

    DAVLockDB /web/server/DAVLockDB/DAVLock     DAVMinTimeout 600        

    <DirectoryMatch "^/web/webdav">

        DAV On
    </DirectoryMatch>

    DocumentRoot                    "/web/webdav/test"
Do you need more help?X

-----httpd.conf-----

ns1:/web/webdav/test # ls -laF /web/server/DAVLockDB/

drwxrwxrwt   2 root  wheel   512 Aug 12 00:01 ./
drwxr-xr-x  21 root  wheel  1024 Aug 11 23:42 ../
-rw-r--r--   1 www   wheel     0 Aug 12 00:01 DAVLock.dir
-rw-r--r--   1 www   wheel     0 Aug 12 00:01 DAVLock.pag

ns1:/web/webdav/test # ls -laF

drwxrwxrwt  2 www   www    512 Aug 11 23:41 ./
drwxr-xr-x  3 root  wheel  512 Aug 11 23:47 ../
-rwxrwxrwx  1 www   www      0 Aug 11 23:18 12345*
ns1:/web/webdav/test 17085 # telnet localhost 8800 Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
MOVE /12345 HTTP/1.1
Destination: http://ns1:8800/1234567
Host: ns1:8800

HTTP/1.1 201 Created
Date: Sun, 11 Aug 2002 14:00:34 GMT
Server: Apache/2.0.40 (Unix) DAV/2
Location: http://ns1:8800/1234567
Content-Length: 247
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Connection closed by foreign host.
ns1:/web/webdav/test # ls -laF

drwxrwxrwt  2 www   www    512 Aug 12 00:01 ./
drwxr-xr-x  3 root  wheel  512 Aug 11 23:47 ../
-rwxrwxrwx  1 www   www      0 Aug 11 23:18 123456*
ns1:/web/webdav/test # telnet localhost 8800 Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
MOVE /123456 HTTP/1.1
Destination: http://ns1:8800/1234567
Host: ns1:8800

HTTP/1.1 403 Forbidden
Date: Sun, 11 Aug 2002 14:04:58 GMT
Server: Apache/2.0.40 (Unix) DAV/2
Content-Length: 254
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Connection closed by foreign host.

ns1:/web/webdav/test # cadaver http://127.0.0.1:8800/ Looking up hostname... Connecting to server... connected. dav:/> ls
Listing collection `/': succeeded.

      *123456                                  0  Aug 11 23:18
dav:/> mv 123456 12345
Moving `/123456' to `/12345': succeeded. dav:/> ls
Listing collection `/': succeeded.
      *1234                                    0  Aug 11 23:18
dav:/> mv 1234 12345
Moving `/1234' to `/12345': failed:
403 Forbidden
dav:/> mv 1234 123456
Moving `/1234' to `/123456': succeeded. dav:/> ls
Listing collection `/': succeeded.
      *12345                                   0  Aug 11 23:18
dav:/>
Can we help you?X

can anyone else duplicate this?



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Sun Aug 11 14:45:44 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:47 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library