[Bug 2710] New: remote ls -l <name> produces inconsistent info

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Apr 25 00:46:44 AEST 2017


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

            Bug ID: 2710
           Summary: remote ls -l <name> produces inconsistent info
           Product: Portable OpenSSH
           Version: 7.5p1
          Hardware: ix86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: doug at cs.dartmouth.edu

Remote ls -l produces different information for the same files
depending on whether or not a file argument (including wildcards) is
present. With a file argument, the link count is 0 and user and group
are given by number. Without an argument, link count is correct and
user and group are given by name.

The OS's where I have observed this are local=cygwin64 or Linux and
remote=Linux. I haven't tried any others.

To observe the behavior make an sftp connection, then execute commands
    ls -l
    ls -l *

I do not know the versions of sftp, since the command does not seem to
support a version inquiry. However the versions of ssh are
OpenSSH_7.4p1, OpenSSL 1.0.2j  26 Sep 2016      on cygwin64
OpenSSH_6.9p1, OpenSSL 1.0.1k-fips 8 Jan 2015   on Linux

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list