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

Permission denied for changing ownership of certificate while creation #918

Open
PaulElser opened this issue Aug 2, 2023 · 0 comments
Open

Comments

@PaulElser
Copy link

PaulElser commented Aug 2, 2023

When I run docker-compose -f generate-indexer-certs.yml run --rm generator as specified here, I get the following error:
/usr/bin/chown: changing ownership of '/certificates/root-ca-manager.pem': Permission denied /usr/bin/chown: changing ownership of '/certificates/root-ca-manager.key': Permission denied.

I am running on macOS Ventura 13.4.1. The root-ca-manger.pem and root-ca-manager.key both have the permissions r-------- while all other files in the directory have rw-------. Any idea on that specific issue, maybe because of the hosts Arm architecture?

Obviously, the errors can be avoided with running chmod u+w root-ca-manager.pem root-ca-manager.key.

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