aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [SOLVED] Set correct permissions for downloads  (Read 5916 times)

izan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
[SOLVED] Set correct permissions for downloads
« 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.
« Last Edit: May 15, 2008, 10:12:16 PM by izan »
Logged

Crakem

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 103
Re: Set correct permissions for downloads
« Reply #1 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
Logged

izan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: Set correct permissions for downloads
« Reply #2 on: May 15, 2008, 10:11:48 PM »

Ok i solved my problem:
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 :-\
« Last Edit: May 15, 2008, 10:14:20 PM by izan »
Logged