gentoo-ebuilds/app-misc/beep/files/70-pcspkr-beep.rules
Mike Gilbert d3b86af995
app-misc/beep: replace fcaps with a udev rule
Giving 'beep' CAP_DAC_OVERRIDE just side-steps the security checks added
by upstream. Follow their advice and use udev rules instead.

https://github.com/spkr-beep/beep/blob/v1.4.12/PERMISSIONS.md

Bug: https://bugs.gentoo.org/716734
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2025-11-25 14:10:20 -05:00

2 lines
186 B
Text

# Give write access to the PC speaker to the user logged in on the current virtual console
ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", TAG+="uaccess"