aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Permission on Download Files  (Read 3167 times)

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
Permission on Download Files
« on: September 22, 2005, 08:49:44 PM »

Hi,
In the preference I have set to 777 the permission on the files and on the amule.conf I see:
Code: [Select]
PermissionsFiles=511but when one download finish in the incoming dir the file haven't 777 permissions  :(

Best regards,

Truzzone  :)
« Last Edit: September 22, 2005, 08:49:58 PM by Truzzone »
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Permission on Download Files
« Reply #1 on: September 22, 2005, 11:46:31 PM »

Decimal 511 == Octal 777

I don't know why the file didn't get the proper permissions.  Is it a FAT32 volume?  Does the aMule process have the proper permissions on the Incoming directory itself?
Logged

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
Re: Permission on Download Files
« Reply #2 on: September 23, 2005, 01:38:51 PM »

The problem is present from 1 week, I compile aMule-CVS every 1-2 days.
The partitions is a ext3 and this is an example of finished files with wrong permissions:
Code: [Select]
-rwxr-xr-x  1 root rootI put on cron.hourly this:
Code: [Select]
chmod -R 777 /incomingfor try resolve the problem, but I don't like this  :(

Truzzone  :)
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Permission on Download Files
« Reply #3 on: September 23, 2005, 01:47:34 PM »

amule runs as root?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
Re: Permission on Download Files
« Reply #4 on: September 23, 2005, 02:06:33 PM »

Quote
Originally posted by stefanero
amule runs as root?
Yes  :]

Truzzone  :)
« Last Edit: September 23, 2005, 02:06:53 PM by Truzzone »
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Permission on Download Files
« Reply #5 on: November 14, 2005, 01:48:53 AM »

Do you have 777 permisions on the temp folder?
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Permission on Download Files
« Reply #6 on: November 14, 2005, 01:38:03 PM »

Is your incomming dir on the same partition as your temp dir?

EDIT: If this is the case, then the problem should be fixed now (IOW, try tomorrows snapshot and report back). ;)
Logged

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
Re: Permission on Download Files
« Reply #7 on: November 14, 2005, 02:12:20 PM »

Quote
Originally posted by Kry
Do you have 777 permisions on the temp folder?
Yes
Quote
Originally posted by Xaignar
Is your incomming dir on the same partition as your temp dir?
Yes

Truzzone  ?(
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Permission on Download Files
« Reply #8 on: November 14, 2005, 04:52:17 PM »

Btw, change to the premissions only apply to new downloads, since we keep the permissions of the partfiles when completing.
Logged