Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 'could not create work tree dir' #422

Open
riedgar-ms opened this issue Apr 4, 2022 · 0 comments
Open

Error 'could not create work tree dir' #422

riedgar-ms opened this issue Apr 4, 2022 · 0 comments

Comments

@riedgar-ms
Copy link

riedgar-ms commented Apr 4, 2022

When running gh-pages as:

gh-pages --dotfiles --message "Updates" --dist docs/_build/html --repo <github-url> --branch master

in CircleCI, we're seeing an error:

fatal: could not create work tree dir '../../../usr/local/lib/node_modules/gh-pages/.cache/<REPODIR>': Permission denied

This looks as if gh-pages is trying to create something under /usr even though it's running as a regular user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant