Skip to content

Unix Domain Socket - Permissions #741

@lgranie

Description

@lgranie

Hi,

If we start gotify server listening on a unix domain socket, the permissions are :

podman exec -it monitor-gotify ls -l /var/run/gotify
srwxr-xr-x 1 root root 0 Nov 21 09:49 server.sock

In the container image, the server is started by root.

If I want ( in a pod ), use a nginx to proxy /var/run/gotify/server.sock, then nginx ( who is not started by root in the default container image ) can not access to /var/run/gotify/server.sock

Can the socket be created with 777 permissions ( like postgres socket ) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions