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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Jul 19 13:55:54 EST 2010


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

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au>  ---
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