[Bug 1792] New: Unable to "ls" within a directory with special characters "[" or "]"
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Jul 10 07:42:11 EST 2010
https://bugzilla.mindrot.org/show_bug.cgi?id=1792
Summary: Unable to "ls" within a directory with special
characters "[" or "]"
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: sftpbug at mailinator.com
Unable to "ls" within a directory with special characters "[" or "]"
Issue appears as follows once connected to remote SFTP server:
sftp> pwd
Remote working directory: /foo
sftp> ls
directory [one]
sftp> cd directory\ [one]
sftp> pwd
Remote working directory: /foo/directory [one]
sftp> ls
Can't ls: "/foo/directory [one]" not found
However, the client is freely able to list the directory contents when
outside the directory that contains the special characters: "[" and/or
"]"
sftp> ls "/foo/directory [one]"
Successful.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list