1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-06-27 19:56:59 +00:00

udev uaccess rules must have lower order than 73-seat-late.rules

see, for example, https://github.com/bigbigmdm/IMSProg/issues/98 . If the rule granting uaccess tag to a device is loaded after the seat-late rule, seat-late can't grant the user access to the device.

Signed-off-by: Marcus Müller <mueller@baseband.digital>
This commit is contained in:
Marcus Müller 2025-05-31 22:22:53 +02:00 committed by Dominic Radermacher
parent 2c9828af87
commit 1a39fe1284
2 changed files with 1 additions and 1 deletions

View File

@ -71,6 +71,6 @@ install(TARGETS ${PROJECT_NAME} DESTINATION bin)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/ptouch-print.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
if(EXISTS /etc/udev/rules.d)
install(FILES udev/90-usb-ptouch-permissions.rules DESTINATION /etc/udev/rules.d)
install(FILES udev/20-usb-ptouch-permissions.rules DESTINATION /etc/udev/rules.d)
install(CODE "execute_process(COMMAND udevadm control --reload-rules)")
endif()