aMule Forum

English => aMule Help => Topic started by: Eight_G on April 15, 2005, 12:19:54 AM

Title: release of 13 april 2005
Post by: Eight_G on April 15, 2005, 12:19:54 AM
Using amuled, how to set file permissions for Incoming direcotory and make it readable for ALL users (a+r)?
I tried to set PermissionsFiles=755 and PermissionsDirs=755 in /~/.aMule/amuled.conf but it doesnt work. Why?
Somebody have the same problem?

Thanks.

Bepp0.
Title: Re: release of 13 april 2005
Post by: Xaignar on April 15, 2005, 01:22:27 AM
First off, the permission settings only apply to new files and folders, so already existing files/folders will keep the existing permissions. Secondly the values is stored as an int, though the permissions are displayed as an octal, so the value for the permission '755' is 493. You can use python for this:
Code: [Select]
$ python
>>> 0755
493
>>> oct(493)
'0755'
Title: Re: release of 13 april 2005
Post by: Eight_G on April 18, 2005, 02:42:57 PM
But where can a I find an exaustive explanation for options in amule.conf (CVS release)? Where can i read that permissions are set in octal :?

Thanks.

Bepp0.
Title: Re: release of 13 april 2005
Post by: Xaignar on April 18, 2005, 02:45:28 PM
In the source code. :P
At least until the remote gui gets a working preferences dialog. ;)
Title: Re: release of 13 april 2005
Post by: lfroen on April 18, 2005, 04:44:56 PM
Quote
At least until the remote gui gets a working preferences dialog

You mean "untill remote gui will be able to set all the preferences" :) - 'cause dialog preferences is working, and preferences (not all) are sent to EC
Title: Re: release of 13 april 2005
Post by: Xaignar on April 18, 2005, 07:43:10 PM
Nice. Haven't been using the remote gui/amuled myself, so I haven't really been keeping track of what's working and what isn't. ;)