Bug 334458 - Attachments in /tmp are NOT opened read-only
Summary: Attachments in /tmp are NOT opened read-only
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 10:39 UTC by Gauss
Modified: 2017-01-07 22:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gauss 2014-05-07 10:39:33 UTC
While some people complain(ed) about attachments being opened read-only for me the opposite is happening. If I click on an attachment in Kmail, the attachment of the mail is saved in some /tmp/kde-<username>/kontact-<..>/  folder having read-write permissions, which I consider dangerous. If a mail has more then one attachment the other files are saved too in /tmp, though these all have read-only permissions and realy only the file I clicked on has read-write.

Reproducible: Always

Steps to Reproduce:
1. Open attachment by clicking on it (do not save it)
Actual Results:  
File has read-write permissions.

Expected Results:  
File should be read-only.
Comment 1 Denis Kurz 2016-09-24 18:10:56 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:50:09 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.