All of lore.kernel.org
 help / color / mirror / Atom feed
* wrong permission for /dev/videoX with vivi
@ 2008-07-12 19:49 Andrea
  0 siblings, 0 replies; only message in thread
From: Andrea @ 2008-07-12 19:49 UTC (permalink / raw)
  To: video4linux-list

I think this is more a udev issue with Fedora 9, but who knows?

When I modprobe vivi I get a /dev/videoX device.
The same happens when I plug in a webcam.
But the permissions are not the same

crw-rw----  1 root root 81, 0 2008-07-12 20:41 /dev/video0
crw-rw----  1 root root 81, 1 2008-07-12 20:41 /dev/video1
crw-rw----  1 root root 81, 2 2008-07-12 20:41 /dev/video2
crw-rw----+ 1 root root 81, 3 2008-07-12 20:42 /dev/video3

In this case I did

modprobe vivi n_devs=3  (for video0-2)
then I plugged in a USB webcam.

This way a normal user is not allowed to read /dev/video0.

Does anybody know where the permissions/ACL for vivi are held?

In udev rules I can only find

[andrea@thinkpad rules.d]$ grep video0 50-udev-default.rules
KERNEL=="video0",               SYMLINK+="video"

Cheers

Andrea

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-12 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12 19:49 wrong permission for /dev/videoX with vivi Andrea

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.