Summary: | kmymoney changes group permissions | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | stst |
Component: | file | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | buckh |
Priority: | NOR | ||
Version: | 5.0.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | f328d389f6af43cadf16fd094f2cbfd12e020d22 | Version Fixed In: | 5.0.4 |
Sentry Crash Report: |
Description
stst
2018-11-25 13:34:31 UTC
same here it seems like the XMLStorage plugin sets the permissions to be QFileDevice::ReadUser | QFileDevice::WriteUser at https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/xml/xmlstorage.cpp#n524 formerly, this was done: QFileInfo info(file); ... m_fmode = QFileDevice::ReadUser | QFileDevice::WriteUser; m_fmode |= info.permissions(); at https://cgit.kde.org/kmymoney.git/tree/kmymoney/views/kmymoneyview.cpp?h=v5.0.1#n746 i'll attach a patch, though i don't have the local build environment to check to see if it either compiles or does what it's supposed to well, when i went to attach a patch it said to use phabricator, so i submitted a patch here: https://phabricator.kde.org/D20646 hope that's useful It seems the patch was committed through Phabricator, but the Bug number there missed one digit, so this bug was not automatically closed. (In reply to Jack from comment #3) > It seems the patch was committed through Phabricator, but the Bug number > there missed one digit, so this bug was not automatically closed. thanks for catching that and sorry i ran the AppImage at https://binary-factory.kde.org/job/KMyMoney_Stable_Appimage_Build/lastBuild/artifact/KMyMoney-5.0.3-bd01a5c-x86_64.AppImage and it seems fixed in there |