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!
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!
FS#69285 - [rxvt-unicode] urxvtd doesn't setuid and setgid bits set
Attached to Project:
Community Packages
Opened by Rolf van Kleef (rhbvkleef) - Monday, 11 January 2021, 01:01 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 14:23 GMT
Opened by Rolf van Kleef (rhbvkleef) - Monday, 11 January 2021, 01:01 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 14:23 GMT
|
DetailsDescription:
According to the urxvt(1) manpage and my own testing, marking urxvtd (and perhaps urxvt, although I've not tested this) with setuid and setgid allows terminals to be shown in who and be reached using utmp. This seems like a desired behaviour, but it is not available in the community package. Additional info: * package version: community/rxvt-unicode version 9.22-10 Steps to reproduce: * run urxvtd and then urxvtc, send a wall message, and observe that it doesn't arrive in the terminal. Proposed solution: * Change the mode of urxvt and urxvtd to 6755. |
This task depends upon
```
Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 823822)
+++ PKGBUILD (working copy)
@@ -70,6 +70,8 @@
done
cd ${pkgname}-${pkgver}
+ # allow modifying utmp
+ chmod 6755 "${pkgdir}/usr/bin/urxvt" "${pkgdir}/usr/bin/urxvtd"
# workaround terminfo installation
export TERMINFO="${srcdir}/terminfo"
install -d "${TERMINFO}"
```