aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: release of 13 april 2005  (Read 2249 times)

Eight_G

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
  • //
    • http:////
release of 13 april 2005
« 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.
Logged
//

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: release of 13 april 2005
« Reply #1 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'
Logged

Eight_G

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
  • //
    • http:////
Re: release of 13 april 2005
« Reply #2 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.
Logged
//

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: release of 13 april 2005
« Reply #3 on: April 18, 2005, 02:45:28 PM »

In the source code. :P
At least until the remote gui gets a working preferences dialog. ;)
Logged

lfroen

  • Guest
Re: release of 13 april 2005
« Reply #4 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
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: release of 13 april 2005
« Reply #5 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. ;)
Logged