[kompare] [Bug 462696] New: [Kompare] Doesn't Request Permission to Save Changes to SuperUser-owned Files
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue Dec 6 10:49:06 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=462696
Bug ID: 462696
Summary: [Kompare] Doesn't Request Permission to Save Changes
to SuperUser-owned Files
Classification: Applications
Product: kompare
Version: 4.1.22083
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kompare-devel at kde.org
Reporter: nekonexus at protonmail.ch
Target Milestone: ---
SUMMARY
Kompare doesn't request superuser privileges, like Kate does, when the user
asks to save/commit diff data to a compared file that's in a root-owned
directory. Instead of outright denying the user's request, it should ask for
permission to do so instead.
STEPS TO REPRODUCE
1. (On Arch Linux, an example: ) "kompare /etc/mkinicpio.conf.pacnew
/etc/mkinitcpio.conf"
(On Arch Linux, updates can save new configuration files as ".pacnew" files so
that users can manage their changes to their already existing configurations.
As it stands, kompare is hindered in attempts to use it in this manner.)
2. Apply differences to the target file
3. Attempt to save the new changes
OBSERVED RESULT
kompare is completely held back from managing file changes for system
configuration files
EXPECTED RESULT
kompare should do what it's meant to and instead ask for permissions to touch
files instead of rejecting the user
SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
ADDITIONAL INFORMATION
N/A
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kompare-devel
mailing list