aacid added a comment.
In https://phabricator.kde.org/D5394#101275, @fvogt wrote: > what are the permissions of the temporary file that QSaveFile creates? If the file exists it re-uses the existing permissions, otherwise it uses 666 https://github.com/qt/qtbase/blob/dev/src/corelib/io/qsavefile.cpp#L235 REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D5394 To: martinkostolny, #ktexteditor Cc: elvisangelaccio, aacid, ivan, lbeltrame, fvogt, apol, anthonyfieroni, cullmann, ltoscano, dhaumann, graesslin, davidedmundson, palant, kwrite-devel, dfaure, #frameworks, head7, kfunk, sars