[mythtv-users] MythFrontend only runs as root

Joseph A. Caputo jcaputo1 at comcast.net
Tue Dec 23 14:17:23 EST 2003


On Tuesday 23 December 2003 13:40, David Brieck Jr. wrote:
> Sorry about that, here are the permission of the actual files:
>
> [myth at localhost v4l]$ ls -al
> total 0
> drwxr-xr-x    1 root     root            0 Dec 31  1969 ./
> drwxr-xr-x    1 root     root            0 Dec 31  1969 ../
> crw-------    1 myth     root      81, 224 Dec 31  1969 vbi0
> crw-------    1 root     root      81, 225 Dec 31  1969 vbi1
> crw-------    1 myth     root      81,   0 Dec 31  1969 video0
> crw-------    1 myth     root      81,   1 Dec 31  1969 video1
> crw-------    1 myth     root      81,  32 Dec 31  1969 video32
> crw-------    1 myth     root      81,  33 Dec 31  1969 video33
>
> > -----Original Message-----
> > From: mythtv-users-bounces at mythtv.org
> > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Joseph A.
> > Caputo Sent: Tuesday, December 23, 2003 1:26 PM
> > To: Discussion about mythtv
> > Subject: Re: [mythtv-users] MythFrontend only runs as root
> >
> > On Tuesday 23 December 2003 13:09, David Brieck Jr. wrote:
> > > I've attached my mythbackend startup script, it looks like it's
> > > starting up with the user mythtv, however I am using the user
> > > myth. Also, below are the permissions on /dev/video*:
> > >
> > > [myth at localhost dev]$ ls -al video*
> > > lr-xr-xr-x    1 root     root           10 Dec 23 12:37 video ->
> > > v4l/video0
> > > lr-xr-xr-x    1 root     root           10 Dec 23 12:37 video0 ->
> > > v4l/video0
> > > lr-xr-xr-x    1 root     root           10 Dec 23 12:37 video1 ->
> > > v4l/video1
> > > lr-xr-xr-x    1 root     root           11 Dec 23 12:37 video32
> > > -> v4l/video32
> > > lr-xr-xr-x    1 root     root           11 Dec 23 12:37 video33
> > > -> v4l/video33
> > >
> > > It looks like any user should be able to access the video
> > > devices. You think it would be the mythbackend startup user then?
> >
> > I'm checking
> >
> > > this all from work, so I can't check to see if any changes made a
> > > difference right now, but I will when I get home.
> >
> > What you're looking at here is the permission of the symbolic links
> > / dev/video* that point to /dev/v4l/video*.  The permission on the
> > links
> > is not necessarily the same as the permissions on the actual device
> > nodes.  What are the permissions on /dev/v4l/* ?
> >
> > -JAC

DIdn't you say your mythbacked was being run as user 'mythtv'?  Your 
video devices are owned by 'myth' ( != 'mythtv').  You need to change 
either your device ownership or the userid that runs mythbackend.

-JAC



More information about the mythtv-users mailing list