title: Jenkins wrong volume permissions
body: <p>I have a virtual machine hosting Oracle Linux where I've installed Docker and created containers using a docker-compose file. I placed the jenkins volume under a shared folder but when starting the docker-compose up I got the following error for Jenkins :</p>
  
  <blockquote>
    <p>jenkins      | touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied
    jenkins      | Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
    jenkins exited with code 1</p>
  </blockquote>
  
  <p>Here's the volumes declaration</p>
  
  <pre><code>  volumes:
      - "/media/sf_devops-workspaces/dev-tools/continuous-integration/jenkins:/var/jenkins_home"
  </code></pre>