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

Container starting, but SSH down - /var/empty must be owned by root and not group or world-writable. #7798

Open
1 task done
psyciknz opened this issue Sep 6, 2024 · 0 comments
Labels
💊 bug Something isn't working

Comments

@psyciknz
Copy link

psyciknz commented Sep 6, 2024

Gogs version

0.14.0+dev

Git version

  • Server: git version 2.34.1

Operating system

Debian

Database

Sqlite

Describe the bug

When upping compose stack, web ui comes up up on 3000. But ssh is down.
Looking at the container logs are lots of
`/var/empty must be owned by root and not group or world-writable.1
entries

Exec into the container and run

chmod a-w /var/empty -R
chmod g-w /var/empty -R

Resolves.

To reproduce

I tried pulling new image and still occurs - image in docker compose is gogs/gogs. Image doesn.t have any details with version.

Expected behavior

Container start and ssh to work for push

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@psyciknz psyciknz added the 💊 bug Something isn't working label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@psyciknz and others