Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44277 - [kdesu] Missing sgid flag on /usr/lib/kf5/kdesud binary.

Attached to Project: Arch Linux
Opened by Dmitry Kuzmenko (mallrat) - Friday, 20 March 2015, 14:24 GMT
Last edited by Antonio Rojas (arojas) - Monday, 23 March 2015, 21:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It looks the package shall provide /usr/lib/kf5/kdesud binary with SGID flag set.


Additional info:
* 5.8.0-1


Steps to reproduce:
1. Install extra/kdesu
$ sudo pacman -S kdesu
2. Run any app with kdesu. It prints the message about wrong sgid and show password dialog without "Save password" checkbox.
$ kdesu kcalc
org.kde.kdesu: Daemon not safe (not sgid), not using it.
3. Type the correct password, it'll run the app as root. Close it.
4. Perform step 2 again. It'll print the message ask the password again.
5. Set SGID bit:
$ sudo chmod g+s /usr/lib/kf5/kdesud
6. Perform steps 2-4 twice: there will be the "Save password" checkbox and it'll not ask for password the second time.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 23 March 2015, 21:37 GMT
Reason for closing:  Implemented
Additional comments about closing:  kdesu 5.8.0-2
Comment by Antonio Rojas (arojas) - Friday, 20 March 2015, 18:46 GMT
Please test kdesu 5.8.0-2 from [testing]

Loading...