[Pkg-running-devel] Bug#766520: Allow unlimited access to the device to any user

Gabriele Giacone 1o5g4r8o at gmail.com
Mon Nov 3 10:47:20 UTC 2014


On Thu, Oct 23, 2014 at 08:45:03PM +0200, Vincent Bernat wrote:
> File: /lib/udev/rules.d/60-garmin-plugin.rules
> 
> The package installs an udev rule granting access to the device to any
> user. Any user with an account on the machine can then do whatever
> they want with the device.
> 
> I suggest to use this udev rule instead:
> 
> ATTRS{idVendor}=="091e", ATTRS{idProduct}=="0003", MODE="0660", GROUP="plugdev", TAG+="uaccess"
                                              ^^^^
FR220/620 have ProductID 2660.
How about removing ATTRS{idProduct} to apply all 091e "Garmin
International" devices? Or adding a 2660 line.

> Only users in the plugdev group or users located physically in front
> of the machine will be able to access the device.
> 
> There is a similar udev rule in the garmin-frontrunner-tools package
> (but it doesn't do anything).

 [CURRENT]
 $ cat /lib/udev/rules.d/60-garmin-forerunner-tools.rules
 ATTRS{idVendor}=="091e", ATTRS{idProduct}=="0003", GROUP="plugdev"

Given garmin-plugin depends on garmin-forerunner-tools, better fixing
g-f-tools rule than adding another one, isn't it?

 [PROPOSED]
 $ cat /lib/udev/rules.d/60-garmin-forerunner-tools.rules
 ATTRS{idVendor}=="091e", MODE="0660", GROUP="plugdev", TAG+="uaccess"


Thanks for considering.
-- 
G..e



More information about the Pkg-running-devel mailing list