Re: Kernel modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikkel L. Ellertson wrote:
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.


Hi Mikkel,

thank you for reply. Since the cam is used by who has a graphical session in that moment, perhaps the most suitable option is to make the video device accessible to the console users. You say

> To change the permissions
> when it is created, you will have to add a udev rule to set
> permissions.

I will try to read some man page on that now...

Andrea

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux