aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Error enumerating files for dir /root/  (Read 2690 times)

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Error enumerating files for dir /root/
« 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?
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Error enumerating files for dir /root/
« Reply #1 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!
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: Error enumerating files for dir /root/
« Reply #2 on: December 18, 2004, 05:37:08 PM »

I supposed something similar... the problem is that obviously I'm not trying to share /root !
« Last Edit: December 18, 2004, 05:38:17 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Error enumerating files for dir /root/
« Reply #3 on: December 18, 2004, 05:43:41 PM »

paste here the contents of ~/.aMule/shareddir.dat please
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: Error enumerating files for dir /root/
« Reply #4 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
« Last Edit: December 18, 2004, 05:49:43 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Error enumerating files for dir /root/
« Reply #5 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

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: Error enumerating files for dir /root/
« Reply #6 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
« Last Edit: December 18, 2004, 08:46:10 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Error enumerating files for dir /root/
« Reply #7 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.
Logged
concordia cum veritate