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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Apr 28 13:44:48 AEST 2017


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This is unfortunate, but expected.

When doing plain 'ls -l', the sftp-client uses the "longname" listing
that is generated by the server since it often provides information
that is otherwise unavailable through the sftp protocol (e.g.
user/group names).

When doing a globbed ls, e.g. "ls -l *', sftp generates the listing at
the client side from the sftp equivalent of stat() operations on the
files.

We might implement a protocol extension to get user/group names from
the remote end, then we could use the latter path for consistency
always (for servers that support the extension anyway).

-- 
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