Re: Bad format of "ls" command with SCP protocol and very big files
- --- In email@example.com, "maisondouf" <maisondouf@...>
Another time me...
I have found an unpretty but running solution to correct this bug.
I change the group name 'everyone' to 'evyone' so I'm sure to have a
white space after it in the string.
The change have to be made in the folowing files :
and if you have a second disk (as me) in :
After rebooting, the firmware make itself the other needed files
according with this and the new line produced by "ls" command will be :
'-rwxrw---- 1 guest evyone 7835492352 Apr 23 2005 g4-icon.iso'
WinSCP can now list all directories.
[Non-text portions of this message have been removed]
- This is not NSLU2 related.
to report the winscp bug.
In the mean time, I would probably edit /etc/group to rename
'everybody' to 'all'.
--- In firstname.lastname@example.org, "maisondouf" <maisondouf@...> wrote:
> Hi, I have a NLSU2 with Firmware Version: V2.3R63-uNSLUng-6.10-beta.
> I use WinSCP in SCP mode to access the file system of the NSLU2.
> Recently I choose to backup somes big files on one of the two disks
> attached and I see that WinSCP give an error message when I list
> directories where a big file is.
> I try some differents methods and I find that the "ls" command in the
> firmware dosn't answer a good formatted string on theses files.
> For example, I have a big ISO file (7,4Go) and the string returned is:
> '-rwxrw---- 1 guest everyone7835492352 Apr 23 2005 g4-icon.iso'
> We can see immediatly that it is no space between the last 'e' of
> 'everyone' and the first digit of the size and so WinSCP can't decode
> The string would be :
> '-rwxrw---- 1 guest everyone 7835492352 Apr 23 2005 g4-icon.iso'
> This bug appears only when the group name has 8 characters long and
> the size 7 or more digits long ! !!
> note than WinSCP wait in SCP mode a string formatted as :
> <type><permissions> <inode> <owner> <group> <size> <timestamp>
> <filename>[ -> <target>]
> How can I correct this ?
> Thanks, Alain
> [Non-text portions of this message have been removed]