Re: MythTV 31 in experimental

トップ ページ

このメッセージに返信
著者: Ian Campbell
日付:  
To: dmo-discussion
題目: Re: MythTV 31 in experimental
On Mon, 2020-03-09 at 17:16 +0100, Christian Marillat wrote:
> On 29 févr. 2020 10:21, Ian Campbell <ijc@???> wrote:
>
> [...]
>
> > One thing I've noticed so far with the existing buster packages is that
> > installing mythtv-common creates the mythtv user with homedir
> > /var/lib/mythtv and populates /var/lib/mythtv/.mythtv with the correct
> > mythtv:mythtv permissions, however /var/lib/mythtv itself is left as
> > root:root:
> >
> >    12 [base-env 9/17] RUN set -x ; whoami && grep mythtv /etc/passwd && ls -ld...
> >    #12 0.581 + whoami
> >    #12 0.582 root
> >    #12 0.582 + grep mythtv /etc/passwd
> >    #12 0.582 mythtv:x:999:999::/var/lib/mythtv:/bin/sh
> >    #12 0.582 + ls -ld /var/lib/mythtv
> >    #12 0.583 drwxr-xr-x 3 root root 4096 Feb 29 02:18 /var/lib/mythtv
> >    #12 0.583 + ls -laRt /var/lib/mythtv
> >    #12 0.584 /var/lib/mythtv:
> >    #12 0.584 total 16
> >    #12 0.584 drwxr-xr-x 3 root   root   4096 Feb 29 02:18 .
> >    #12 0.584 drwxr-xr-x 1 root   root   4096 Feb 29 02:18 ..
> >    #12 0.584 drwxr-xr-x 2 mythtv mythtv 4096 Feb 29 02:18 .mythtv
> >    #12 0.584 
> >    #12 0.584 /var/lib/mythtv/.mythtv:
> >    #12 0.584 total 8
> >    #12 0.584 drwxr-xr-x 2 mythtv mythtv 4096 Feb 29 02:18 .
> >    #12 0.584 drwxr-xr-x 3 root   root   4096 Feb 29 02:18 ..
> >    #12 0.584 lrwxrwxrwx 1 root root 22 Feb 29 02:18 config.xml ->
> > /etc/mythtv/config.xml
> >    #12 DONE 0.7s

> >
> > Not sure if this would be deliberate or not...
>
> Should be fixed for /var/lib/mythtv in the next upload.


It doesn't appear to be fixed in 30.0+fixes20200310.gitab250d6ccf-dmo1.
Was it expected to be?

> > Also just spotted looking above that the config.xml link is root owned too.
>
> This is a symbolic link and should work like this.


Doh, yes, of course.

Ian.