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

jsii/superchain has bad permissions on /root/.ssh/config #1138

Closed
eladb opened this issue Dec 18, 2019 · 0 comments · Fixed by #1139
Closed

jsii/superchain has bad permissions on /root/.ssh/config #1138

eladb opened this issue Dec 18, 2019 · 0 comments · Fixed by #1139
Labels
bug This issue is a bug.

Comments

@eladb
Copy link
Contributor

eladb commented Dec 18, 2019

🐛 Bug Report

What is the problem?

When using jsii/superchain in certain environments, I get the following error:

Bad owner or permissions on /root/.ssh/config

Example: https://app.circleci.com/jobs/github/eladb/cdk-watchful/31

Proposed Solution

Add chmod 600 /root/.ssh/config to Dockerfile.

@eladb eladb added the bug This issue is a bug. label Dec 18, 2019
eladb pushed a commit that referenced this issue Dec 18, 2019
`/root/.ssh/config` must have the correct permissions or otherwise certain operations such as `git clone` will fail in certain environments.

Fixes #1138
@mergify mergify bot closed this as completed in #1139 Dec 18, 2019
mergify bot pushed a commit that referenced this issue Dec 18, 2019
`/root/.ssh/config` must have the correct permissions or otherwise certain operations such as `git clone` will fail in certain environments.

Fixes #1138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant