Comment 22 for bug 1196384

Revision history for this message
Andy Canfield (andycanfield) wrote : Re: [Bug 1196384] Re: sftp ls switched file names

The bug occurs when I contact the server from my workstation. It is
possible for me to put a new kernel on my workstation. It is not
possible for me to put a new kernel on the server.

AHAH! Test Environment Progress. I discovered that sftp allows me to log
in to my own machine, so that the workstation and server is the same
computer, using "sftp myname@localhost". And even in that context I see
the same bug. Trim it down so that there are only two zip files in my
home directory, then sftp to my own account on my own machine, and try
the key commands again -

andy@localhost's password:
Connected to localhost.
sftp> ls -l *.zip
-rw-r--r-- 0 1111 1000 593050 Jun 17 10:34 ProduceLists.zip
-rw-r--r-- 0 1111 1000 16642 Jul 6 2012 bangkokbase.zip
sftp> ls -l P*.zip
-rw-r--r-- 0 1111 1000 16642 Jul 6 2012 ProduceLists.zip
sftp> ls -l b*.zip
-rw-r--r-- 0 1111 1000 593050 Jun 17 10:34 bangkokbase.zip
sftp> exit

Here is my first test with three files -
[andy@lenny:/home/andy]: Dir *.zip
-rw-r--r-- 1 andy 28499203 Jul 2 07:52 Barcode.zip
-rw-r--r-- 1 andy 16642 Jul 6 2012 ProduceLists.zip
-rw-r--r-- 1 andy 593050 Jun 17 10:34 bangkokbase.zip
[andy@lenny:/home/andy]: sftp andy@localhost
andy@localhost's password:
Connected to localhost.
sftp> ls -l *.zip
-rw-r--r-- 0 1111 1000 28499203 Jul 2 07:52 Barcode.zip
-rw-r--r-- 0 1111 1000 593050 Jun 17 10:34 ProduceLists.zip
-rw-r--r-- 0 1111 1000 16642 Jul 6 2012 bangkokbase.zip
sftp> exit

Try it with four files -

[andy@lenny:/home/andy]: Dir *.zip
-rw-r--r-- 1 andy 28499203 Jul 2 07:52 Barcode.zip
-rw-r--r-- 1 andy 16642 Jul 6 2012 ProduceLists.zip
-rw-r--r-- 1 andy 5618041 Jul 2 07:54 Wallpaper.zip
-rw-r--r-- 1 andy 593050 Jun 17 10:34 bangkokbase.zip
[andy@lenny:/home/andy]: sftp andy@localhost
andy@localhost's password:
Connected to localhost.
sftp> ls -l *.zip
-rw-r--r-- 0 1111 1000 28499203 Jul 2 07:52 Barcode.zip
-rw-r--r-- 0 1111 1000 593050 Jun 17 10:34 ProduceLists.zip
-rw-r--r-- 0 1111 1000 5618041 Jul 2 07:54 Wallpaper.zip
-rw-r--r-- 0 1111 1000 16642 Jul 6 2012 bangkokbase.zip
sftp> exit

Curious. It is always switching two file names, but not obvious which
ones it switches. Maybe the last two?

I will try the upstream kernel later today.

On 07/02/2013 03:13 AM, Joseph Salisbury wrote:
> Would it be possible for you to test the latest upstream kernel? Refer
> to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
> v3.10 kernel[0].
>
> If this bug is fixed in the mainline kernel, please add the following
> tag 'kernel-fixed-upstream'.
>
> If the mainline kernel does not fix this bug, please add the tag:
> 'kernel-bug-exists-upstream'.
>
> If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
> Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
>
>
> Thanks in advance.
>
> [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-saucy/
>
> ** Changed in: linux (Ubuntu)
> Importance: Undecided => Medium
>
> ** Changed in: linux (Ubuntu)
> Status: Confirmed => Incomplete
>