-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Udo Richter schrieb:
Klaus Schmidinger wrote:
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.
Wouldn't it be a lot more natural and intuitive if the default for -u would be not to switch users at all? It wouldn't change the (previous) default behavior and it doesn't use two hard-coded user names (vdr and root). Specifying -u root to disable switching is at least strange...
I think this would be the best way, too. At first i was realy irritated as my vdr starts over and over again, because i doesnt know, the the new '-u' paramater was present (and not optional).
Oliver