aMule Forum

English => aMule Help => Topic started by: niko on November 07, 2005, 06:04:23 AM

Title: Change the default group ownership in amule
Post by: niko on November 07, 2005, 06:04:23 AM
Hello everybody,

On my system my username is niko and my group niko. I'd like to change the owner of my .part files (and all the others) to niko:p2p :
$ ls -lh ~/.aMule/Temp
-rw-r-----  1 niko p2p  3.9K Nov  7 06:11 001.part.met
...

But while dowloading, aMule changes the owner of the files again :
$ ls -lh ~/.aMule/Temp
-rw-r-----  1 niko niko 3.9K Nov  7 06:11 001.part.met
...

Is there a possibility in aMule (or Linux...) to indicate the default group for the downloaded files, part files and directories ?
I searched the board and did not find answer, hope there is not.

Thank you, and enjoy aMule ;-)
Title: Re: Change the default group ownership in amule
Post by: stefanero on November 07, 2005, 08:46:19 AM
well you cannot do this in your homedir, or at least its not recommendet

best would be todo as root:

1.st

create a folder /mule/Temp and /mule/Incomming

for example

2.nd

add yourself to the p2p group

3.rd

change ownership of the FOLDER

chown niki:p2p -R /mule/
chmod g+rwx -R /mule/

4.th
change your incomming/temp folder in amule and copy the temp files to the right /mule/ folder

now everything should be fine, everyone on the system who is ALSO in the p2p group should be able to access the temp/incomming files


tata
stefanero
Title: Re: Change the default group ownership in amule
Post by: niko on November 07, 2005, 01:16:09 PM
Okay, so the problem was that the directories were in my home folder ?

Thank you for youy response
Title: Re: Change the default group ownership in amule
Post by: stefanero on November 07, 2005, 04:17:38 PM
yup this depends on your linux, some allow that some dont