Guest TomaszG Posted March 11, 2010 Report Posted March 11, 2010 Hello. I've installed on my Hero dropbear server to use WinSCP to transfer files between hero <-> PC. Connection is working fine but I have a small problem with directory listing. WinSCP accept this format of output: <type><permissions> <inode> <owner> <group> <size> <timestamp> <filename>[ -> <target>] http://winscp.net/eng/docs/message_unexpec...rectory_listing but 'ls -la' in my hero returns information WITHOUT <inode> column. How to fix it (WinSCP works fine with Modaco Custom ROM so it is possible <_<). My hero have 1.15.3 version of busybox installed. Thanks for any answers.
Guest sinnadyr Posted March 11, 2010 Report Posted March 11, 2010 ls -lai should print with inode <_<
Guest TomaszG Posted March 12, 2010 Report Posted March 12, 2010 ls -lai should print with inode <_< Maybe it should but it doesn't :-P Output is the same like with ls -la. Can anyone paste an example output for ls -la on Modaco ROM?
Guest kendon Posted March 20, 2010 Report Posted March 20, 2010 maybe a little late, but fwiw this is from mcr3.1: kendon@nxnet:~$ ssh hero -p 2222 kendon@hero's password: # ls -la drwxrwxrwx 1 2000 2000 2048 Mar 11 21:04 . drwxrwx--x 1 1000 1000 2048 Mar 7 22:18 .. drwxrwxrwx 1 0 0 2048 Mar 15 22:46 bin -rw-rw-rw- 1 10091 10091 134 Mar 17 13:09 dnsmasq.conf -rw-r--r-- 1 0 0 1 Mar 17 13:12 dnsmasq.leases -rw-r--r-- 1 0 0 5 Mar 17 13:10 dnsmasq.pid drwxrwxrwx 1 2000 2000 2048 Mar 16 16:38 rights -rw-rw-rw- 1 10091 10091 8102 Mar 15 22:46 tiwlan.ini drwxrwx--x 1 2000 2000 2048 Mar 16 16:38 tmp # ls -lai 384 drwxrwxrwx 1 2000 2000 2048 Mar 11 21:04 . 1 drwxrwx--x 1 1000 1000 2048 Mar 7 22:18 .. 392 drwxrwxrwx 1 0 0 2048 Mar 15 22:46 bin 386 -rw-rw-rw- 1 10091 10091 134 Mar 17 13:09 dnsmasq.conf 388 -rw-r--r-- 1 0 0 1 Mar 17 13:12 dnsmasq.leases 387 -rw-r--r-- 1 0 0 5 Mar 17 13:10 dnsmasq.pid 390 drwxrwxrwx 1 2000 2000 2048 Mar 16 16:38 rights 385 -rw-rw-rw- 1 10091 10091 8102 Mar 15 22:46 tiwlan.ini 389 drwxrwx--x 1 2000 2000 2048 Mar 16 16:38 tmp try using the busybox binary from 3.1, i think it needs to be compiled with the right options.
Guest zorm Posted March 21, 2010 Report Posted March 21, 2010 (edited) maybe a little late, but fwiw this is from mcr3.1:<snip> try using the busybox binary from 3.1, i think it needs to be compiled with the right options. Actually, I get exactly the same formatting of output on 3.2 [Edit:]Um yes, but so what! Soz, I thought the OP was having a problem with MCR 3.2 - just realised he has already said it works fine under MCR, so this post is redundant. Shame we can't delete our own posts. Edited March 21, 2010 by zorm
Guest shenshang Posted March 21, 2010 Report Posted March 21, 2010 ive been having problems with MCR's busybox...dunno why, works fine on other ROMs though =\
Guest TomaszG Posted March 22, 2010 Report Posted March 22, 2010 (edited) Here's the solution - http://forum.xda-developers.com/showpost.p...p;postcount=215 - removing ls file from /system/bin/ cause it is symlinked to toolbox. Bad format was because ls command was obtained from toolbox instead of busybox. Edited March 22, 2010 by TomaszG
Guest zorm Posted March 22, 2010 Report Posted March 22, 2010 ive been having problems with MCR's busybox...dunno why, works fine on other ROMs though =\ What problems?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now