Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

hariiee

Error listing directory '/root' – Permission Issue

Error “listing directory '/root'” happens due to lack of permission. Use sudo ls /root or sudo -i to access the directory.
martin

Re: Any news on this topic?

Can anyone with access to Busybox contact me on my email address?

You will find my address (if you log in) in my forum profile.
ropo

Re: Any news on this topic?

@martin: Still in the queue? Android is quite popular, I think.
martin

Re: Any news on this topic?

@samerbaer: Sorry, it's in queue.
samerbaer

Any news on this topic?

Any news on this topic?
samerbaer

Re: Re: Similar Error on Android Busybox

@martin: Thanks for the effort, I'll be glad to test any new versions
martin

Re: Re: Similar Error on Android Busybox

It's the missing size column for directory entries.
Let me try to solve this.
I'll come back to you.
samerbaer

Re: Re: Similar Error on Android Busybox

Hi, thanks for the quick reply.

I just tried the version you've linked but unfortunately it doesn't work yet.
This is the Error Message I get now:
Unexpected directory listing line 'drwxr-xr-x root root 2012-07-10 06:14 acct'.

It seems to still have problems but the "'root' is not a valid integer value" message isn't showing any more.

I just connected with PuTTY and did an ls -la, maybe this helps:
drwx------ root     root              2012-06-29 11:06 .ssh

drwxrwxrwx root     root              2012-07-02 13:58 mnt
drwxrwx--x shell    shell             2012-06-26 07:01 tmp
-rwxr-xr-x root     root        77352 2012-06-28 15:15 toolbox

I've seen in the preview, that the message board formating kind of modifies the ls -la output,
so I'll attach a picture of my PuTTY session.
samerbaer

Similar Error on Android Busybox

Hi, it seems that the ls -la command on an Android busybox is not returning the inode value, here's the error I get:
Unexpected directory listing line 'drwx------ root root 2012-06-29 11:06 .ssh'.
'root' is not a valid integer value

Since I can't switch to SFTP (not implemented) I'd be happy if you could include such a ls -la reply line to your parser.
I've tried to connect with WinSCP 4.3.8 and 5.0.7 beta.
martin

Re: Same error occuring in Centos 6.2

@Sid2: What version of WinSCP are you using? Please make sure you are using the latest one.
Sid2

Same error occuring in Centos 6.2

I have built a number of Centos 6.2 VM's and the "Unexpected directory listing.... not a valid integer value" error also occur in this release.

I turned on logging and attached the result.
richardsite

Re: Error listing directory '/root'

@dmnor510: Just upgrade
tmrow

Re: Error listing directory '/root'

I have the same problem.
dmnor510

Error listing directory '/root'

Hello:

I upgraded my SSH server to Fedora 11, and when I use WinSCP to connect to it, I get the following error
Error listing directory '/root'

Unexpected directory listing line 'drwxr-x---. 22 root root 4096 Jun 16 17:38 .'.
'.' is not a valid integer value