[mythtv-users] card#0 - Permission Denied!
Nick
knowledgejunkie at gmail.com
Sun Mar 19 00:25:01 UTC 2006
On 17/03/06, Brian Wood <beww at beww.org> wrote:
>
> On Mar 17, 2006, at 12:43 AM, ffrr wrote:
>
> > Brian Wood wrote:
> >
> >> Changing the permissions is really the better answer, but if you're
> >> running a udev system (as most of us are I presume) such changes will
> >> not survive across a reboot.
> >>
> >> You will need to change the udev rules/permissions in order to have a
> >> permanent change.
> >>
> > or add the command to alter the permissions to
> >
> > /etc/rc.d/rc.local
> >
>
> Good point, although perhaps not as "clean", it is probably easier to
> implement for a lot of folks. It would also survive if something
> "updates" your udev files.
One way to avoid this problem is to put the new rule(s) in a separate
rules file (I use 10-dvb.rules) that will be processed before the udev
default rules (the default udev rules are named 50-udev.rules) The
default rules can be overwritten if udev is updated, hence the use of
a separate rules file.) Also note that rules files are parsed in
lexical order, so to have a rule processed first, its filename needs
to come 'before' the default rule file.
For any users wanting to look into using udev for controlling device
creation, the following site is one I strongly recommend:
http://www.reactivated.net/writing_udev_rules.html
I used to use the rc.local method, but looked into using udev because
it seemed more powerful and 'cleaner'.
Nick
More information about the mythtv-users
mailing list