httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=52043

             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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: phil.pickett@springsource.com
    Classification: Unclassified


Created attachment 27799
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message