aMule Forum

English => en_Linux => Topic started by: izan on May 15, 2008, 09:49:13 PM

Title: [SOLVED] Set correct permissions for downloads
Post by: izan on May 15, 2008, 09:49:13 PM
Hello.
I have one amule daemon correctly running in one Debian machine.
When i download one file the permissions are:
-rw-r-----
And i want they be:
-rw-r--r--

because i want the "other" user have read pemission and not to stay changing permissions in the server by hand with chmod command.

Somebody knows how to do this

I would aprecciate your help.

Thank you for your time to read this post.
Title: Re: Set correct permissions for downloads
Post by: Crakem on May 15, 2008, 10:06:43 PM
Hello.
I have one amule daemon correctly running in one Debian machine.
When i download one file the permissions are:
-rw-r-----
And i want they be:
-rw-r--r--

because i want the "other" user have read pemission and not to stay changing permissions in the server by hand with chmod command.

Somebody knows how to do this

I would aprecciate your help.

Thank you for your time to read this post.
Look for PermissionsFiles variable in amule.conf and change as you want  ;) I never used it but i think values working like chmod params
Title: Re: Set correct permissions for downloads
Post by: izan on May 15, 2008, 10:11:48 PM
Ok i solved my problem:
http://forum.amule.org/index.php?topic=9086.0 (http://forum.amule.org/index.php?topic=9086.0)

Code: [Select]
Edit amule.conf:

ExecOnCompletion=1
ExecOnCompletionCommand= chmod o+r "%FILE"

My excuses for not to make one fine search  before :-\