I am trying to restore cache. I have a Node Container and when I install npm packages globally they are being put into /usr/local/bin (circle 2.0). In circle 1 they were in /opt/circleci/nodejs/v6.10.3/bin/
Now when I run a new job and try to restore the cache keys I get the following error:
tar: usr/local/bin/_mocha: Cannot open: Permission denied
tar: usr/local/bin/aws: Cannot open: File exists
tar: usr/local/bin/aws.cmd: Cannot open: Permission denied
tar: usr/local/bin/aws_bash_completer: Cannot open: Permission denied
I assume this is because the circleci user doesn’t have privileges but if that is the case how do I restore the cache?
As a side note, I have been playing with circle 2.0 for a while now. Its WAY faster but the documentation is greatly lacking. Example of this stuff would be immensely helpful.