[vdr] VDR 1.3.38 and "-u root"

Matthias Schwarzott zzam at gentoo.org
Mon Jan 9 20:46:14 CET 2006


On Monday 09 January 2006 18:54, Oliver Friedrich wrote:
> Klaus Schmidinger schrieb:
> > There have been reports from people who want to run
> > VDR as user 'root' and have trouble with access rights
> > when using "-u root".
> >
> > The attached patch simply skips all the SetCaps() and SetUser()
> > stuff when VDR is started as 'root' and the option "-u root"
> > has been given. This should then behave just like older versions.
> >
> > Klaus
>
> Hi Klaus,
>
> Thanks for the patch. It solves my problem with the text2skin-plugin,
> that was not able to load a lot of the channel logos or needed fonts if
> they were accessed via a symlink.
>
> Oliver
>
Hi Oliver,

A better approach would be to just set the permissions of the files to sane 
values as I think running vdr as non-root is a lot better.

Matthias

-- 
Matthias Schwarzott
Gentoo Developer
http://www.gentoo.org



More information about the vdr mailing list