[mythtv-users] Q about users and priveleges...?

Nick Morrott knowledgejunkie at gmail.com
Mon Jan 26 22:23:10 UTC 2009


On 26/01/2009, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 01/26/2009 04:58 PM, Nick Morrott wrote:
>
> > On 26/01/2009, Nick Rout wrote:
> >
> >
> > > I'll reiterate one problem that I have posted about before, which
> > >  results from mythbuntu running backend and frontend as different
> > >  users:
> > >
> > >  * mythbuntu runs the backend as user mythtv and the frontend as the
> > >  user you create on installation (in my case 'nick'). When you set up
> > >  the grabber in mythtv-setup, it puts the config file in
> > >  /home/nick/.mythtv/Freeview.xmltv (where nick is the
> user and Freeview
> > >  is the video source name you allocated). The trouble is that the
> > >  backend running as mythtv does not look in nick's home directory, it
> > >  looks in its own, ending up with an error 512 (FAILED: xmltv returned
> > >  error code 512.) when mythfilldatabase is run.
> > >
> > >  The solution was a simple symlink.
> > >
> > >
> > Another might be running mythtv-setup as the mythbackend user
> > (assuming it has a valid login shell). One potential problem - in
> > addition to that described above - of running mythtv-setup as the
> > frontend user is that the user might not have access to the capture
> > hardware to allow it to be setup correctly.
> >
>
>  Wasn't http://svn.mythtv.org/trac/ticket/5659 another
> (which went into -fixes, specifically due to the efforts of a MythBuntu
> hacker who made the patch due to MythBuntu's configuration) in [18314] (4
> months ago).

Indeed - I remembered the ticket from Michael Haas after sending. The
config file still needs to be accessible to both users - less of an
issue if you run mythbackend as root and mythfrontend as a regular
user, but could be a problem if mythbackend runs as one regular user,
and mythfrontend as another.

Nick

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

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


More information about the mythtv-users mailing list