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

When logging an upstart job with the standard console log stanza, can the resulting log files in /var/log/upstart be configured to be written with a mode or owner other than the default?

share|improve this question
By 'mode' do you mean permissions? – demure May 25 '13 at 3:17
yes, permissions – abeyer May 25 '13 at 5:14
up vote 1 down vote accepted

No, upstart runs as root, and is in charge of creating the log files. You'll want to do your own logging if you want to control the owners and permissions. You can just direct the output/stderr of all of the commands to a log file if that is what you want.

share|improve this answer
Looks to be the case, though not the answer I was hoping for. The whole interaction of upstart and logrotate by default in 12.04 seems to be a bit of a mess. – abeyer Jun 12 '13 at 20:20

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.