[mythtv-users] /dev/video0 permissions

Yan Seiner yan at seiner.com
Fri Jan 23 03:34:41 UTC 2009


Gabe Rubin wrote:
> On Thu, Jan 22, 2009 at 5:34 PM, Ron Garrison <ron.garrison at gmail.com> wrote:
>   
>> I've been reading about the PolicyKit and I believe that is where I
>> probably need to make the change.  I'll post back if I figure it out.
>> In the mean time - if anyone else has any ideas...
>>
>> Ron
>>     
>
> You can probably do this with udev.  This is the process for making
> sure the permissions work properly for firewire, and can probably be
> adapted for /dev/video (although I am not sure the specifics):
> http://www.mythtv.org/wiki/FireWire#Method_2:_modify_udev_rules
>
>   
Here's my udev rules for the myth DVD player:

selene:/etc/udev# grep -r myth *
rules.d/71-local-cd.rules:ENV{ID_CDROM}=="?*", 
ENV{ID_SERIAL}=="SONY_DVD-ROM_DDU1615_############-0:0", 
SYMLINK+="dvdplayer/myth", ENV{GENERATED}="1"
rules.d/91-permissions.rules:        OWNER="mythtv", GROUP="mythtv", 
MODE="0660"


--Yan


More information about the mythtv-users mailing list