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

docs: add permission notes to SSH Container Passthrough #17347

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

mashirozx
Copy link
Contributor

@mashirozx mashirozx commented Oct 18, 2021

This step is necessary in most cases and should be noted in the docs.

```bash
sudo chmod +x /app/gitea/gitea
```

Copy link
Contributor

@wxiaoguang wxiaoguang Oct 18, 2021

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 😊

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 18, 2021
@codecov-commenter

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 $@"
Copy link
Contributor

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.

@wxiaoguang
Copy link
Contributor

Please improve the description of this PR

@mashirozx
Copy link
Contributor Author

Ready

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 18, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 18, 2021
@techknowlogick techknowlogick merged commit f0376b7 into go-gitea:main Oct 18, 2021
@wxiaoguang wxiaoguang added type/docs This PR mainly updates/creates documentation skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Oct 19, 2021
@mashirozx mashirozx deleted the patch-1 branch October 22, 2021 01:51
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
…7347)

* Update with-docker.en-us.md

* Update with-docker.en-us.md

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants