httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52043] New: Directories ".", "..", and "/" do not work correctly with "ls" command
Date Mon, 17 Oct 2011 18:24:05 GMT

             Bug #: 52043
           Summary: Directories ".", "..", and "/" do not work correctly
                    with "ls" command
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ftp
    Classification: Unclassified

Created attachment 27799
Patch file to address shortcomings in mod_ftp "ls" command handling

The FTP client commands "ls .", "ls ..", and "ls /" do not work in a way
consistent with the unix shell commands.

>From the top-level FTP directory, a "550" status "No such file or directory" is
returned for each of these.  From a subdirectory one-level deep on the FTP
server, the "ls ." shows the contents of the current directory while "ls .."
and "ls /" still return the 550 status.  From a subdirectory two or more levels
deep, "ls ." and "ls .." work but "ls /" returns a 550.

With the attached patch incorporated and built, the commands "ls .", "ls ..",
"ls /", as well as  "ls ./<someDirectory>", "ls ../<someDirectory>", "ls
/<someDirectory>", and ls <someDirectory> work in a way consistent with the
linux/unix shell "ls" command for the testing I've done.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message