Error listing directory '/root'

Advertisement

dmnor510
Joined:
Posts:
1

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

Reply with quote

Advertisement

Sid2
Guest

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.

Reply with quote

Advertisement

samerbaer
Joined:
Posts:
4

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.

Reply with quote

samerbaer
Joined:
Posts:
4

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.

Putty.gif

Reply with quote

Advertisement

martin
Site Admin
martin avatar

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.

Reply with quote

Advertisement

hariiee
Joined:
Posts:
2
Location:
pakistan

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.

Reply with quote E-mail

Advertisement

You can post new topics in this forum