Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Fix error git clone failed with error code 128 - Windows#541

Closed
joelrojas wants to merge 1 commit intoserverless:masterfrom
joelrojas:master
Closed

Fix error git clone failed with error code 128 - Windows#541
joelrojas wants to merge 1 commit intoserverless:masterfrom
joelrojas:master

Conversation

@joelrojas
Copy link
Copy Markdown

Docker for Windows has some issues with the permissions when mounting files in containers.

docker/for-win#2042

@bsamuel-ui
Copy link
Copy Markdown
Contributor

Please see #550

Comment thread lib/pip.js
'-e',
'SSH_AUTH_SOCK=/tmp/ssh_sock'
);
chmod_cmd = ['chmod', '600', '/root/.ssh/id_rsa'];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to only run this command for Windows environments?
If possible, we should try to avoid modifying the permissions of user's files (since the SSH private key is mounted from the user directly).

Also, please keep in mind that there may be other, non-RSA private keys.

@pgrzesik
Copy link
Copy Markdown
Contributor

Hey @joelrojas - it was a long time since this PR was proposed - I'm going to close it and if you'd still like to work on this one, please propose a new PR against latest main branch. Thanks 🙇

@pgrzesik pgrzesik closed this Sep 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants