https://bugs.kde.org/show_bug.cgi?id=479955

            Bug ID: 479955
           Summary: Elevating privileges doesn't work
    Classification: Frameworks and Libraries
           Product: frameworks-ktexteditor
           Version: 5.248.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: aro...@archlinux.org
  Target Milestone: ---

Elevating privileges for saving root-owned files doesn't work in 6.0 RC1

STEPS TO REPRODUCE
1.  Open a root-owned file with kate
2. Modify it and try to save it

OBSERVED RESULT
Authentication dialog pops up, and when the password is entered it gives an
error:
"The document could not be saved, as it was not possible to write to [...]"

Journal output:
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
COMPLETED
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
Completed:  true
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
Finishing obtaining privileges
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]: Listener
adapter polkit_qt_listener_initiate_authentication_finish
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
polkit_qt_listener_initiate_authentication_finish callback for  0x58fd21d12b00
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]: Finish
obtain authorization: true
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]: Dialog
cancelled
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
Finishing obtaining privileges
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]:
QCoreApplication::postEvent: Unexpected null receiver
ene 17 19:03:36 archlinux-arl polkit-kde-authentication-agent-1[1384]: Finish
obtain authorization: true

EXPECTED RESULT
File is saved

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux x86_64
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7 beta 1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to