aMule Bug Tracker - aMule
View Issue Details
0001304aMuleMessagespublic2008-04-21 11:562008-10-22 16:27
yelo3 
Wuischke 
normalminoralways
closedreopened 
SVN 
 
Any
0001304: flooded by log files when using ntfs-3g temp folder
amule version 2.2.0~svn20080218-0ubuntu3
I'm using a ntfs-3g Temp and Incoming folder. When amule starts to download files, the "amule log" tab is filled by these messages:

Logger.cpp(269): Error: Impossible to set permission for the file '/media/Dati/yelo3/Downloads/eMule/Temp/019.part.met.bak' (error 1: Funzione non permessa)
"Funzione non permessa" can be translated to not allowed function
No tags attached.
Issue History
2008-04-21 11:56yelo3New Issue
2008-04-21 11:56yelo3Operating System => Any
2008-07-10 11:14WuischkeStatusnew => resolved
2008-07-10 11:14WuischkeResolutionopen => fixed
2008-07-10 11:14WuischkeAssigned To => Wuischke
2008-07-10 11:14WuischkeNote Added: 0002865
2008-10-06 13:41yelo3Statusresolved => feedback
2008-10-06 13:41yelo3Resolutionfixed => reopened
2008-10-06 13:41yelo3Note Added: 0002972
2008-10-10 09:00WuischkeNote Added: 0002973
2008-10-22 16:27WuischkeStatusfeedback => closed

Notes
(0002865)
Wuischke   
2008-07-10 11:14   
Use umask=0 when mounting the volume.
(0002972)
yelo3   
2008-10-06 13:41   
Why is amule constantly trying to change the permission/ownership of the file? it should only do it when the file is created!
(0002973)
Wuischke   
2008-10-10 09:00   
You are right - but aMule is actually creating new files. bak files are backup copies. When creating such a backup copy, the creation of new files is involved for security reasons. (i.e. first create a new file with the backup, then delete the old backup file and rename the new backup file)

aMule uses standard permissions for files, i.e. the permissions a file would get when you created it manually. This is done using the so called umask.

(Calculation: 777-umask value, all octal; example: umask=022 -> 777-022=755 means owner can do everything and group and other can't write, but read and execute. Please read more about Unix file permissions for details.)

NTFS doesn't support Unix File permissions. Therefore, setting the umask to 0 is a possible solution. But this is more a problem where your distribution's help forum can assists you than a problem where aMule developers can help you.