Project

General

Profile

Bug #1736

The log switch does nothing when using -f

Added by Jelle De Loecker over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2013-05-17
Due date:
% Done:

0%

Estimated time:
Found in version:
8e08c9de0819f86e6f6811d1df215adf347c967d
Affected Versions:

Description

I'm starting tvheadend release 3.4 like this:

tvheadend -f -u hts -g video -c /home/hts/.hts/tvheadend -l /var/log/tvheadend.log

Yet nothing happens in the /var/log/tvheadend.log file.
When I remove -f it does work, however.

History

#1

Updated by Adam Sutton over 11 years ago

  • Status changed from New to Rejected

I'm going to hazard a guess and say you're running that as root. Without -f it does not change the permissions and so tvh runs as root and can write to the file. With -f it switches to another user to reduce priv's and can no longer write to that file.

Try changing the ownership of that file to hts:video and see if it works.

Adam

Also available in: Atom PDF