Skip to contentSkip to conversation

wrong permission for /dev/videoX with vivi

DISCUSSION Andrea 1 participant 1 message Jul 12, 2008 Media (V4L/DVB)

lore
Share & tools
lore

Andrea

author
#0 lore raw

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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list