title: Ubuntu Permission Denied Error
body: <p>I get he following error running this command <code>/etc/init.d/celerybeat start</code>:</p>
  
  <pre><code>chown: changing ownership of `/srv/project/logs': Operation not permitted
  chown: changing ownership of `/var/run': Operation not permitted
  chown: changing ownership of `/var/run': Operation not permitted
  chmod: changing permissions of `/var/run': Operation not permitted
  chown: changing ownership of `/srv/project/logs': Operation not permitted
  chmod: changing permissions of `/srv/project/logs': Operation not permitted
  Starting celerybeat...
  ubuntu@ip-10-239-73-129:/etc/default$ LockFailed: [Errno 13] Permission denied: '/var/run/celerybeat.pid'
  </code></pre>
  
  <p>The user it runs under is '<strong>celery</strong>'.</p>
  
  <p>I run this command after to create the user:</p>
  
  <pre><code>adduser --system --no-create-home --disabled-login --disabled-password --group celery
  </code></pre>
  
  <p>But still get the permission denied error. Why?</p>