On Sun, 11 Jun 2000, Jan Dittberner wrote:
> Hello,
> 
> I have set the ownership/permission of the
> 
> /dev/video* devices to
> 
> crw-rw----   1 root      rvideo
> 
> to enable the group rvideo to access these
> devices.
> 
> After a reboot the devices are reset to
> 
> crw-------   1 root     root
> 
> How can I avoid this? Which script is responsible
> for this behaviour?

check in /etc/security/console.perms

There probably is a line like:
<v4l>=/dev/video* /dev/radio*

and somewhere below in the same file:

<console> 0600 <v4l> 0600 root

which means that when 'user' logs in at console, rights and
ownership for /dev/video* are set to:
crw------- user root

you can change this line to:
<console> 0600 <v4l> 0660 root.rvideo

but still any user can use /dev/video* (it only reverts permission to
0660 root.rvideo after user logs out).
I think that the best solution would be to delete this line and manually
set permissions/ownership. This mechanism is provided to prevent
different users from using some devices simultaneously. Usually you have
only one person at the console so this is kind of excessive security.

Regards

-- 
Registered Linux user #166697
visit http://counter.li.org to register
Sign the petition at http://www.libranet.com/petition.html
Help bring us more Linux Drivers


Reply via email to