Kernel modules

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Sep 15 15:13:59 UTC 2008


Andrea Mastellone wrote:
> Hi to all,
> 
> I am collabortaing to develop a kernel driver for m5602-based webcams.
> When I insert as root the kernel module, it creates the /dev/video0
> which has the following permissions
> 
> crw-rw---- root,root
> 
> so that an user cannot access to the webcam :(
> 
> How to give instead the
> 
> crw-rw-rw-
> 
> permissions ? If not a driver issue, I think it is an udev issue, isn't
> it ?
> 
> Thank you,
> 
> Andrea
> 
Do you want to limit access to the user logged into the console, or
do you want it accessible to all users? To limit it the console
user, take a look at console.perms. You will need to create a rule
for it in /etc/security/console.perms.d. To change the permissions
when it is created, you will have to add a udev rule to set permissions.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080915/3ad7fb9a/attachment-0001.sig>


More information about the fedora-list mailing list