-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
docs: add permission notes to SSH Container Passthrough
#17347
Conversation
```bash | ||
sudo chmod +x /app/gitea/gitea | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not understand why we need this step. If the gitea binary doesn't have +x, how can it be started before?
Oh I can see your point ~~ . Then the text should be you should set
instead of you may
😊
This comment has been minimized.
This comment has been minimized.
@@ -336,6 +336,12 @@ In the next step a file named `/app/gitea/gitea` (with executable permissions) n | |||
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you help to add a shebang line #!/bin/sh
here? In case some users are using non-sh shells.
Please improve the description of this PR |
Ready |
…7347) * Update with-docker.en-us.md * Update with-docker.en-us.md Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This step is necessary in most cases and should be noted in the docs.