aMule Bug Tracker - aMule
View Issue Details
0001545aMuleMulti Platformpublic2009-07-26 00:052009-08-18 13:02
yelo3 
sturedman 
normalminoralways
acknowledgedopen 
2.2.5 
 
Linux with NTFS
0001545: operation not permitted when downloading to ntfs
While downloading to a ntfs partition Temp directory, amule causes lots of messages about "operation not permitted" on part.met.bak and part.met.backup files

This is normal because ntfs does not support some operations with ntfs.
So my request is to stop requesting the operations that causes those fails, if possible.
No tags attached.
Issue History
2009-07-26 00:05yelo3New Issue
2009-07-26 00:05yelo3Operating System => Any
2009-07-26 00:29sturedmanNote Added: 0003262
2009-07-26 12:23yelo3Note Added: 0003267
2009-07-26 21:00sturedmanOperating SystemAny => Linux with NTFS
2009-07-26 21:00sturedmanNote Added: 0003268
2009-07-26 21:00sturedmanAssigned To => sturedman
2009-07-26 21:00sturedmanStatusnew => acknowledged
2009-07-27 01:14yelo3Note Added: 0003269
2009-07-28 00:25sturedmanNote Added: 0003271
2009-07-28 00:27yelo3Note Added: 0003272
2009-08-18 13:02yelo3Note Added: 0003283

Notes
(0003262)
sturedman   
2009-07-26 00:29   
What's your OS? And please post the exact messages you are getting.
(0003267)
yelo3   
2009-07-26 12:23   
My OS is ubuntu, and the exact message is:

2009-07-26 10:23:45: Error: Impossible to set permissions for the file '/home/yelo3/Downloads/eMule/Temp/001.part.met.backup' (error 1: Operation not permitted)
2009-07-26 10:23:45: Error: Impossible to set permissions for the file '/home/yelo3/Downloads/eMule/Temp/001.part.met.bak' (error 1: Operation not permitted)

I see those messages also when I try to chmod or chown files on my ntfs partition
(0003268)
sturedman   
2009-07-26 21:00   
Please try:

remove the lines
        if (backupFile.Open(dst.m_filesystem)) {
            backupFile.Flush();
        }
from Path.cpp / CPath::BackupFile / ln 620

and tell me if that solves the problem
(0003269)
yelo3   
2009-07-27 01:14   
I commented out those lines but I still see the messages
(0003271)
sturedman   
2009-07-28 00:25   
Then it's a problem of wxCopyFile we use I'm afraid. What's your wxWidgets version ?
(0003272)
yelo3   
2009-07-28 00:27   
2.8.9.1
(0003283)
yelo3   
2009-08-18 13:02   
Can you give me other suggestions to see what function is causing these errors? If it's a wxWidgets problem where can I report it?