[mythtv-users] permission issues

Nick Morrott knowledgejunkie at gmail.com
Sun Oct 4 18:27:41 UTC 2009

2009/10/4 Gabe Rubin <gaberubin at gmail.com>:
> Hi all,
> I have been getting some weird permission issues lately.  I don't
> think I have made any changes to my system that would have caused
> this, but maybe something got updated to do so.
> Basically, when I restart, the mythtv user loses access to a lot of
> hardware components (sound, serial port, and video).
> I have to manually go in as root and do the following:
> chmod ugo+rw /dev/tty*  (so myth can change the channels over the serial port)
> chmod ugo+rw /dev/snd* (so myth can output sound)
> chmod ugo+rw /dev/video* (so myth can capture with my PVR-350)
> Obviously, this is somewhat annoying, and somewhat baffling.  How do I
> make these changes stick permanently through a reboot?  I don't care
> if the mythtv user has access to the whole system; the box is behind a
> firewall and I am not too concerned with security here.  I just want
> to fix the issue.

Are you using Fedora?

You can use additional udev rules to alter user/group ownership of the
devices when they are created - see
http://www.reactivated.net/writing_udev_rules.html for more details.
You want your rules to be processed before the default OS rules, so
the rule file needs a name that is alphanumerically less than that of
the default rules file.

You might also need to modify/add a permissions file (in
/etc/security/console.perms.d/ on Fedora) to update console
permisisons, depending upon your usage requirements.


Nick Morrott

MythTV Official wiki:
MythTV users list archive:

"An investment in knowledge always pays the best interest." - Benjamin Franklin

More information about the mythtv-users mailing list