[Bug 1028280] Re: sftp remoteserver "ls -l" error
Serge Hallyn
1028280 at bugs.launchpad.net
Thu Jul 26 05:01:17 UTC 2012
** Changed in: openssh (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1028280
Title:
sftp remoteserver "ls -l" error
Status in “openssh” package in Ubuntu:
New
Bug description:
When connected via sftp to remote server, the "ls -l *" returns wrong
information, other then "ls -l filename".
Example:
-----------------------------------------------
$ uname -a
Linux laptop 2.6.38-15-generic #59-Ubuntu SMP Fri Apr 27 16:04:29 UTC 2012 i686 i686 i386 GNU/Linux
$ ssh -v
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
....
$ sftp remoteserver
sftp> ls -l *tgz
-rw-r--r-- 0 1001 0 334258 Jun 10 21:59 ifly.root.tgz
-rw-r--r-- 0 1001 0 467990 Jul 24 09:50 ifly_root.tgz
sftp> ls -l ifly.root.tgz
-rw-r--r-- 0 1001 0 467990 Jul 24 09:50 ifly.root.tgz
sftp> ls -l ifly_root.tgz
-rw-r--r-- 0 1001 0 334258 Jun 10 21:59 ifly_root.tgz
sftp>
-----------------------------------------------
The file ifly.root.tgz is really 467990 bytes and Jul 24 09:50, and ifly_root.tgz is 334258 bytes and Jun 10 21:59.
It`s correct.
But when used "ls -l *tgz" sizes and dates not corresponds to filenames, and when "ls -l *" filenames and file attributes may be mixed in random order: directory "/tmp" marked as file "-rw-r--r-", file "index.html" marked as directory, etc.
With other remote servers too.
When connecting to this and other remote servers from FreeBSD (openssh
5.4) all works fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1028280/+subscriptions
More information about the foundations-bugs
mailing list