Re: [mythtv-users] Why does /dev/dvb reset permisions on boot?
On Tue, 06 Dec 2005 18:59:10 +1000, ffrr wrote: Weston, Toby wrote: Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... After I got DVB working, the DVB devices (in /dev/dvb/adapter0/*) had no permissions so only root could see them. The fix was to add chmod 666 /dev/dvb/adapter0/* to /etc/rc.d/rc.local which resets them to something sensible each reboot. Or go down into /etc/udev/rules.d/ and add MODE=666 into the line in the (whichever).rules file which creates the dvb devices. Geoff R. Geoffrey Newbury [EMAIL PROTECTED] Barrister and Solicitor Telephone: 905-271-9600 Mississauga,Ontario, Canada Facsimile: 905-271-1638 ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] Why does /dev/dvb reset permisions on boot?
Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... Cheers, ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Why does /dev/dvb reset permisions on boot?
Weston, Toby wrote: Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... After I got DVB working, the DVB devices (in /dev/dvb/adapter0/*) had no permissions so only root could see them. The fix was to add chmod 666 /dev/dvb/adapter0/* to /etc/rc.d/rc.local which resets them to something sensible each reboot. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: [mythtv-users] Why does /dev/dvb reset permisions on boot?
ffrr wrote: Weston, Toby wrote: Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... After I got DVB working, the DVB devices (in /dev/dvb/adapter0/*) had no permissions so only root could see them. The fix was to add chmod 666 /dev/dvb/adapter0/* to /etc/rc.d/rc.local which resets them to something sensible each reboot. Thanks! I'll give that a go :) ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Why does /dev/dvb reset permisions on boot?
if you are using a actual distribution, you may not have a static dev directory, this directory is created every time on boot via udev. you have to look at /etc/udev/permison.rules or so... - Original Message - From: ffrr [EMAIL PROTECTED] To: Discussion about mythtv mythtv-users@mythtv.org Sent: Tuesday, December 06, 2005 9:59 AM Subject: Re: [mythtv-users] Why does /dev/dvb reset permisions on boot? Weston, Toby wrote: Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... After I got DVB working, the DVB devices (in /dev/dvb/adapter0/*) had no permissions so only root could see them. The fix was to add chmod 666 /dev/dvb/adapter0/* to /etc/rc.d/rc.local which resets them to something sensible each reboot. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Why does /dev/dvb reset permisions on boot?
Jochen Kühner wrote: if you are using a actual distribution, you may not have a static dev directory, this directory is created every time on boot via udev. you have to look at /etc/udev/permison.rules or so... - You are most likely right, but I did/do not know much about udev, so I came up with my solution, which works because udev has already created the dev directory at that point in the boot sequence. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Why does /dev/dvb reset permisions on boot?
On 06/12/05, Weston, Toby [EMAIL PROTECTED] wrote: Hi folks, Probably an obvious question (bit of Linux newbie here I'm afraid) but why would the permissions on my dvb devices reset to allow just root access each time I reboot? Myth can't access them as the 'mythtv' user doesn't have write permission but I change this using chmod... it just can't retain the change... udev issue - the cleanest solution is to write your own rules for DVB (and other) devices - the following page is a great introduction to udev and should get you sorted: http://www.reactivated.net/udevrules.php Essentially, create the rule for the DVB devices by coping the content of the existing udev rules file (which could get overwritten if udev is updated) and create a new rule file (with a filename that is alphanumerically less than the name of the main rules file) with the amended owner/group/permissions. These settings will then be applied everytime the machine starts. I created various groups (e.g. audio/video/lirc) when configuring my various udev devices and then add users to these groups when they require access. Nick ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users