Fix being unable to set the right permissions for kde_settings.conf
ClosedPublic

Authored by filipf on Thu, Feb 13, 11:49 PM.

Details

Summary

If we are creating a config file and its directory doesn't exist, we fail to set the right permissions for the file.

This affects kde_settings.conf and results in the KCM not being able to read stored settings.

BUG: 414396
CC-BUG: 342722
FIXED-IN: 5.18.1

Test Plan

rm-rf sddm.conf.d
save settings in the kcm in various ways
kde_settings.conf is now world readable agian

Diff Detail

Repository
R123 SDDM Configuration Panel (KCM)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
filipf created this revision.Thu, Feb 13, 11:49 PM
Restricted Application added a project: Plasma. · View Herald TranscriptThu, Feb 13, 11:49 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
filipf requested review of this revision.Thu, Feb 13, 11:49 PM
filipf updated this revision to Diff 75653.Fri, Feb 14, 12:02 AM

Fix the permissions for people who have already had the file created with the wrong permissions

davidedmundson accepted this revision.Sun, Feb 16, 7:05 AM
This revision is now accepted and ready to land.Sun, Feb 16, 7:05 AM
This revision was automatically updated to reflect the committed changes.