Multiple identical udev rules -- safe?

Harald Hoyer harald at redhat.com
Tue Feb 1 10:04:24 UTC 2011


Am 31.01.2011 22:47, schrieb Martin Langhoff:
> Consider this file from nxt_python package:
> 
>   cat  /etc/udev/rules.d/70-lego.rules
>   BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"
> 
> Is it safe & sane to include an identical udev rule file in the nbc
> package with different filename? To state the obvious -- it'd use the
> same group name and mode.
> 
> Fallback plan is to prep a package just for this udev rule and depend
> on it, but it seems unnecesary overhead.
> 
> 
> m

Yes, it would be safe. It's just code duplication.
Why does it use group "lego"? Is there a daemon running?
Or should the console user have access to it?



More information about the devel mailing list