Version: 1.13.3 (using KDE 4.4.3) OS: Linux Saving an attachment using Drag and Drop to Dolphin copies the attachment with incorrect permissions. Using "Save As" gives the expected permissions. Reproducible: Always Steps to Reproduce: 1. Receive an email with an attachment (tested with a jpeg) 2. Drag the attachment to a folder in Dolphin Actual Results: Attachment is copied with 0400 permissions (-r--------) Expected Results: Attachment is copied with 0644 permissions (-rw-rw-r--). umask is 0002 OS: Linux (i686) release 2.6.32-22-generic Compiler: cc
Cannot reproduce with KDE 4.4.5. Permissions are fine.
Can reproduce with KDE 4.4.5. Permissions not fine.
Can still reproduce with KDE 4.7.4
Yawn... still reproducible in 4.8.3 Slight change: drag-and-drop gives 0500 permissions now; "Save As" give the expected 0644
How do you dnd ? dnd from treeview in messageviewer ? or from link ?
From the message preview pane or if I open the email in a seperate window and I drag the attachment from the message body or the header onto my home folder in Dolphin always the same 0500 permissions
OK I can confirm it. Will look at how to fix it
I have 600 not 500 here. "-rw-------"
Git commit ae91f6214e146dc0f1ad0d7a7a66eff06effa3f9 by Montel Laurent. Committed on 27/06/2012 at 19:37. Pushed by mlaurent into branch 'master'. Fix Bug 240489 - Wrong file permissions when attachments copied to filesystem using drag and drop FIXED-IN: 4.8.5 M +3 -1 messageviewer/urlhandlermanager.cpp http://commits.kde.org/kdepim/ae91f6214e146dc0f1ad0d7a7a66eff06effa3f9
Git commit fe855358a3f4c812e2398ac7f6ad5fb1df705d69 by Montel Laurent. Committed on 27/06/2012 at 19:37. Pushed by mlaurent into branch 'KDE/4.8'. Fix Bug 240489 - Wrong file permissions when attachments copied to filesystem using drag and drop FIXED-IN: 4.8.5 (cherry picked from commit ae91f6214e146dc0f1ad0d7a7a66eff06effa3f9) M +3 -1 messageviewer/urlhandlermanager.cpp http://commits.kde.org/kdepim/fe855358a3f4c812e2398ac7f6ad5fb1df705d69
Git commit 9c5c26fc6d98915166969956df0be3b3d62c64a6 by Montel Laurent. Committed on 27/06/2012 at 19:37. Pushed by mlaurent into branch 'KDE/4.9'. Fix Bug 240489 - Wrong file permissions when attachments copied to filesystem using drag and drop FIXED-IN: 4.8.5 (cherry picked from commit ae91f6214e146dc0f1ad0d7a7a66eff06effa3f9) M +3 -1 messageviewer/urlhandlermanager.cpp http://commits.kde.org/kdepim/9c5c26fc6d98915166969956df0be3b3d62c64a6