Skip to content

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

Open
@psyciknz

Description

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

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions