On Mon, 2009-03-16 at 15:19 +0000, Adam Buchbinder wrote:
> >Note that at least one of those rules is utterly and dangerously wrong.
>
> Scott, can you provide a bit more information? It seems like there's
> something informative about writing udev rules that I'm missing.
>
The following rule:
SUBSYSTEM=="video", MODE="0666"
matches all devices from the "video" subsystem, and grants full
read/write permissions to every single user and group for them.
That is most definitely *not* an acceptable default.
Also the "mxc_vpu" rule you give grants read/write to everyone - if
multiple users are logged in, or anyone logs in from ssh, they too can
also use this device.
In some cases, this is entirely ok - but it needs careful justification.
Scott
--
Scott James Remnant
[email protected]
--
Add udev rule to allow users to use Freescale VPU on ARM MX51 SoC based devices
https://bugs.launchpad.net/bugs/340796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs