Summary: | Kate ignores umask when creating new (local) files | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Samu Juvonen <samu.juvonen> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hein, michal.humpula |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ktexteditor/3999d5678ad41c0b5a9b2f24147591dc5e1e7321 | Version Fixed In: | |
Sentry Crash Report: |
Description
Samu Juvonen
2015-01-22 14:25:09 UTC
This is a problem with current implementation using QSaveFile to write data. That one is using QTemporaryFile and that one is forcing new file to be created with 0600 rights, which makes sense for temporary file. There is no way I can see to tell the QTemporaryFile(Engine) to create file with different rights. So the only way IMHO to circumvent this would to compute the correct rights after the KTE is trought saving. Git commit 3999d5678ad41c0b5a9b2f24147591dc5e1e7321 by Christoph Cullmann. Committed on 26/07/2015 at 12:48. Pushed by cullmann into branch 'master'. obey umask rules when saving new file REVIEW: 122612 M +18 -3 src/buffer/katetextbuffer.cpp http://commits.kde.org/ktexteditor/3999d5678ad41c0b5a9b2f24147591dc5e1e7321 |