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

--- Comment #2 from DOUGLAS MCILROY <[email protected]> ---
It is more than unfortunate. It gives misinformation: link count 0. One
can learn by experiment that this is a quirk, but one's first
impression is that something has gone wrong. While a change in protocol
probably is the best fix, the bug could be ameliorated by either of the
following client-side methods:

1. Always perform ls -l as if it had no arguments, then display only
the requested entries. This gives fully familiar output at extra cost
in
server-side processing and data transmission. It probably entails a net
reduction in code.

2. Display link count as a nonnumeric indicator, e.g. one of {- _ ?}.
This eliminates the worst misunderstanding, but still gives surprising,
although correct, uid and gid. It costs nothing.

-- 
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to