udev: set clock group for PTP and RTC devices

Add a new group for clock devices to enable applications like linuxptp
to open clocks without root privileges.
This commit is contained in:
Miroslav Lichvar
2025-01-16 15:34:47 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 0ec19b311b
commit af96ccfc24
5 changed files with 8 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ g utmp {{UTMP_GID }} - -
# Physical and virtual hardware access groups
g audio {{AUDIO_GID }} - -
g cdrom {{CDROM_GID }} - -
g clock {{CLOCK_GID }} - -
g dialout {{DIALOUT_GID}} - -
g disk {{DISK_GID }} - -
g input {{INPUT_GID }} - -