[mythtv-users] Device permissions

Jason Spears shadestalker at thatsmystapler.org
Fri Nov 20 21:01:55 UTC 2009


On Fri, Nov 20, 2009 at 2:56 PM, aaron <memoryguy at gmail.com> wrote:

> Hi all,
>
> I know this isn't directly MythTV-related, but it's for my mythbox, so...
> ;)
>
> I'm in the process of rebuilding my system on Slackware 13. I have
> been on Slackware 9 for 5+ years (and even before that, way to back to
> Myth 0.06 in 2002).
>
> I'm only just now moving to the wonderful world of the 2.6 kernel. At
> least, on a box that I actually need/want to tweak. So much has
> changed! In particular, udev.
>
> So, the problem is this:
> If I start mythbackend from the prompt, everything works perfectly
> (hooray!)
>
> But when I start mythbackend from daemontools [1], it doesn't have
> permission to the /dev/video* nodes (two identical PVR-250s, so video0
> and video1)
>
>
http://cr.yp.to/daemontools/setuidgid.html

" setuidgid sets its uid and gid to *account*'s uid and gid, *removing all
supplementary groups*. It then runs *child*."

I would try 'su myth -c' instead.

HTH,

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091120/de441728/attachment.htm>


More information about the mythtv-users mailing list