Bug 2694

Summary: sftp ls command ignores sorting flags for globbed listing
Product: Portable OpenSSH Reporter: Martin Prikryl <martin>
Component: sftpAssignee: Damien Miller <djm>
Status: CLOSED FIXED    
Severity: normal CC: djm, dtucker
Priority: P5    
Version: -current   
Hardware: Other   
OS: Other   
Bug Depends on:    
Bug Blocks: 2698    
Attachments:
Description Flags
implement sorting for globbed ls dtucker: ok+

Description Martin Prikryl 2017-03-18 07:05:28 AEDT
The `sftp` `ls` command ignores all sorting flags, for globbed listings.

Note a lack of `LS_*_SORT` flags use in the `do_globbed_ls` function, contrary to non-globbed `do_ls_dir`.

Posted based on:
http://serverfault.com/q/839005/168875
Comment 1 Damien Miller 2017-06-09 15:15:55 AEST
Created attachment 2991 [details]
implement sorting for globbed ls

This implement sorting for globbed ls.
Comment 2 Damien Miller 2017-06-10 16:34:58 AEST
Patch applied. This will be in OpenSSH 7.6
Comment 3 Damien Miller 2021-04-23 14:58:11 AEST
closing resolved bugs as of 8.6p1 release