@James Yin. Your suggestion of a chmod -R is a bit too permissive. After you have done that you have made the entire contents of /var/lib writeable by anyone with login access to your machine. I really would caution against doing that.

A better (untested) way would be to do

sudo mkdir /var/lib/jenkins_restore
sudo chown jenkins /var/lib/jenkins_restore

or if that does not work and you really need to change the permissions of /var/lib then just do

sudo chmod 777 /var/lib
... perform restore ...
sudo chmod 755 /var/lib

But certainly you do not need to supply the -R parameter to chmod.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to