aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: Terrible problem after changing folders....  (Read 9822 times)

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Terrible problem after changing folders....
« on: November 23, 2010, 09:58:56 PM »

Hi there!
I've got a nas, so i've moved all the temp and incoming folders to the nas,then mapped using mount cifs...
I've added a new user to the linux machine running amuled with the same credentials of the nas.
Then i've logged to the linux machine using the new credentials,modified the amuled.conf and run amuled, but I got these errors:

.......
 Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/017.part.met.bak' (error 1: Operation not permitted)
.......
.......
and so on... what can i do?
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Terrible problem after changing folders....
« Reply #1 on: November 23, 2010, 10:01:54 PM »

Login as root and chown -R your amule folder to the user running amuled.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #2 on: November 23, 2010, 11:18:10 PM »

Login as root and chown -R your amule folder to the user running amuled.

Same problem...this what i've done:

1) created the new user called "admin" with the same password as the nas
2) logged with root and chown -R admin /root/.aMule
3) logged out
4) logged in with admin

but it seems to still use the "admin" amuled.conf instead of the root amuled.conf's config dir.
i've tryed copying the configured amuled.conf to the admin's amule.conf,but the problem is the same


Any idea?
« Last Edit: November 23, 2010, 11:29:41 PM by michelinok »
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Terrible problem after changing folders....
« Reply #3 on: November 23, 2010, 11:36:42 PM »

Why would you have two config dirs so it can use the wrong one?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #4 on: November 23, 2010, 11:45:17 PM »

Why would you have two config dirs so it can use the wrong one?

I was running amuled as root, then (when switched to the nas) I've created a new user called "admin",when i run amuled withing "amule",it creates the amule.conf  inside /home/admin/.aMule and it uses it.
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Terrible problem after changing folders....
« Reply #5 on: November 24, 2010, 12:58:47 PM »

I still don't get your problem.

So it's using the config in /home/admin/.aMule . Fine.  Set the temp folder in it to /hddext/filesharing/amule/Temp and chown /hddext/filesharing/amule/Temp to admin as I told you.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #6 on: November 24, 2010, 07:01:44 PM »

I still don't get your problem.

So it's using the config in /home/admin/.aMule . Fine.  Set the temp folder in it to /hddext/filesharing/amule/Temp and chown /hddext/filesharing/amule/Temp to admin as I told you.

LOL!  ;D I was chown'ing the amule config folder,not the temp folder  ::) ::)

I'll try ASAP!!!

Many thanks, i hope not to disturb you anymore (i hope...)
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #7 on: November 24, 2010, 07:38:56 PM »

Should i do the chown for the temp only or for the incoming too?
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #8 on: November 24, 2010, 07:49:48 PM »

 chown -R root /hddext/filesharing/amule/Temp


.....
chown: changing ownership of `/hddext/filesharing/amule/Temp/711.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/722.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/723.part.met.ahl': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/723.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/727.part.met.ahl': No such file or directory
.....


and after launching amuled i got this looooong entryes in the log:

..............
 2010-11-24 23:52:40: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:52:46: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:52:49: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:52:52: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:52:56: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:52:59: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:02: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:05: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:09: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:11: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:15: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:19: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:22: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:23: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/005.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:24: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/005.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:26: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:29: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:32: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:36: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:38: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:42: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:45: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:48: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:51: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:53:54: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:53:57: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:54:01: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
 2010-11-24 23:55:01: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
 2010-11-24 23:55:04: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)....
.............


and so on....
« Last Edit: November 24, 2010, 11:58:33 PM by michelinok »
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Terrible problem after changing folders....
« Reply #9 on: November 25, 2010, 12:13:19 PM »

First of all, what is the file system on the NAS?
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #10 on: November 25, 2010, 06:15:16 PM »

NTFS
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Terrible problem after changing folders....
« Reply #11 on: November 26, 2010, 05:04:39 PM »

First of all:
michelinok wrote me a personal message that he can't post messages here anymore. Could someone with admin privileges check that please?

@michelinok (hope you can reply):
What command do you use to mount the NAS?
Please post the first two lines of "ls -la /hddext/filesharing/amule/Temp" executed in a console/terminal below.
Also please post the output of "id" executed in a console/terminal.
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #12 on: November 26, 2010, 09:20:27 PM »

First of all:
michelinok wrote me a personal message that he can't post messages here anymore. Could someone with admin privileges check that please?

@michelinok (hope you can reply):
What command do you use to mount the NAS?
Please post the first two lines of "ls -la /hddext/filesharing/amule/Temp" executed in a console/terminal below.
Also please post the output of "id" executed in a console/terminal.

1) It seems i can post now  8)
2) mount -t cifs //192.168.2.200/public /hddext -o username=myuser,password=mypass,domain=workgroup
3)
total 56794824
drwxrwxrwx 2 99 98          0 Nov 26  2010 .
drwxrwxrwx 4 99 98          0 Nov 24 00:27 ..
-rwxrwxrwx 1 99 98 4695233057 Nov 26 21:18 001.part
-rwxrwxrwx 1 99 98      11093 Nov 26  2010 001.part.met

4)
 intersect:~#  "id"
uid=0(root) gid=0(root) groups=0(root)


Any idea? It seems to download ok,but the log is quite full....(downloading more than 100 files...)
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Terrible problem after changing folders....
« Reply #13 on: November 26, 2010, 10:49:41 PM »

Add ",silent" to the mount options, without the quotes, and remount.
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #14 on: November 27, 2010, 09:51:10 AM »

I'll try asap
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------
Pages: [1] 2 3