[Bug 1792] Unable to "ls" within a directory with special characters "[" or "]"

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jul 22 10:16:45 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1792

--- Comment #2 from sftpbug at mailinator.com  ---
OS-X Snow Leopard 10.6.4

SSH Version Info:
OpenSSH_5.5p1, OpenSSL 0.9.8l 5 Nov 2009

Issue persists with re-compiling using ./configure flags.

(In reply to comment #1)
> What platform is this?  I can't reproduce the problem on either OpenBSD
> or Fedora.
> 
> $ cd /tmp
> $ mkdir directory\ [one]
> $ cd directory\ \[one\]/
> $ touch bar
> $ sftp localhost
> Connected to localhost.
> sftp> cd /tmp/directory\ [one]/
> sftp> pwd
> Remote working directory: /tmp/directory [one]
> sftp> ls
> bar  
> sftp> 
> 
> A couple of things you can try:
> 
> ./configure --with-cflags=-DBROKEN_REALPATH
> 
> ./configure --with-cflags=-DBROKEN_GLOB
> 
> and see if either of these makes the problem go away.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list