aMule Forum

English => en_Bugs => Topic started by: GhePeU on December 18, 2004, 04:51:03 PM

Title: Error enumerating files for dir /root/
Post by: GhePeU on December 18, 2004, 04:51:03 PM
when I reload shared files or I change shared dirs in preferences, this message appears in log. what does this mean?
Title: Re: Error enumerating files for dir /root/
Post by: Jacobo221 on December 18, 2004, 05:21:55 PM
That message is shown when a directory cannot be opened to read it's conntents. So check you have read+execute permissions on that dir (being /root/ dir, I don't see why you would like to share it ;))

Greets!
Title: Re: Error enumerating files for dir /root/
Post by: GhePeU on December 18, 2004, 05:37:08 PM
I supposed something similar... the problem is that obviously I'm not trying to share /root !
Title: Re: Error enumerating files for dir /root/
Post by: Jacobo221 on December 18, 2004, 05:43:41 PM
paste here the contents of ~/.aMule/shareddir.dat please
Title: Re: Error enumerating files for dir /root/
Post by: GhePeU on December 18, 2004, 05:46:55 PM
/root is not in shareddir.dat, I checked

maybe I was wrong, this doesn't happen when I reload shared files, it happens only when I use the tree selector for sharing directories, it seems that every time I open / it try to access /root and obviously it can't.

EDIT: ok, I can confirm. I created a new directory /prova with same permissions and user of root (root:root 700) and now I can see
Code: [Select]
18/12/2004 17:57:58: Error enumerating files for dir /root/
18/12/2004 17:57:58: Error enumerating files for dir /prova/
when I open / in tree selector
Title: Re: Error enumerating files for dir /root/
Post by: deltaHF on December 18, 2004, 07:19:29 PM
amule is just trying to read(not share) all dirs on your HDD and because it can't read i.e the root dir, you get such info
it's not a bug ;)

cheers
Title: Re: Error enumerating files for dir /root/
Post by: GhePeU on December 18, 2004, 08:44:16 PM
yes, but that message didn't appear with rc7 so I didn't know what it was. Could it be removed?


PS. cvs hanged 40 minutes ago (blank interface and no more traffic), it's the first time I see problems in aMule since september! i think I'll revert to rc7, I will not be at home next days, so I prefer a tested working release
Title: Re: Error enumerating files for dir /root/
Post by: GonoszTopi on December 18, 2004, 08:53:07 PM
Because it is normal to have this message and it just seems like an error, I changed it to a debug message.