Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have several log files in /var/log/mythtv that need to be owned by mythtv.users. In versions of Ubuntu prior to 12.10 if I did:

sudo chown mythtv.users mylogfile

that worked fine and my log files would stay belonging to mythtv.users. However, since upgrading to 12.10 Ubuntu keeps changing the ownership of my log files back to syslog.adm.

Is there any way to stop Ubuntu changing the ownership of my log files?

share|improve this question
Would it be a solution to add mythtv to the group adm ? That way you wont need the logfiles to be owned by mythtv. – rechengehirn Dec 23 '12 at 10:17
Thanks I did try that, but whatever is changing the permissions sets the file to be read only for the adm group. – Ian Barton Dec 28 '12 at 12:58

Try to change the setgid of the /var/log/mythtv ( )

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.