[sane-devel] Sane's udev rules generator outputs unnecessary commands?

Arseniy Skvortsov ettavolt at gmail.com
Thu Jan 11 11:04:25 UTC 2018


Hello,

Why is tools/sane-desc.c outputing mode and group change commands along  
with setting libsane_matched=yes (like here for USB  
https://anonscm.debian.org/cgit/sane/sane-backends.git/tree/tools/sane-desc.c#n3560,  
but also for SCSI)? There is a catch-all rule ENV{libsane_matched}=="yes",  
MODE="664", GROUP="scanner" that does exactly the same modifications.
I think that output_mode_udevacl should only affect this last rule, others  
should only set ENV{libsane_matched}="yes".



More information about the sane-devel mailing list