public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea <audetto@tiscali.it>
To: video4linux-list@redhat.com
Subject: wrong permission for /dev/videoX with vivi
Date: Sat, 12 Jul 2008 20:49:24 +0100	[thread overview]
Message-ID: <48790AC4.2070606@tiscali.it> (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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

                 reply	other threads:[~2008-07-12 19:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48790AC4.2070606@tiscali.it \
    --to=audetto@tiscali.it \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox