spiegel_podman/pkg/api/server
Matthew Heon 0b7885b90a Ensure umask is set appropriately for 'system service'
We need a umask of 0022 to ensure containers are created
correctly, but we set a different one prior to starting the
server (to ensure the unix socket has the right permissions).
Thus, we need to set the umask after the socket has been bound,
but before the server begins accepting requests.

Fixes #6787

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-06 14:21:17 -04:00
..
docs.go [CI:DOCS] Fix carriage returns in API v2 header 2020-06-11 16:02:06 -04:00
handler_api.go move go module to v2 2020-07-06 15:52:17 +02:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_archive.go move go module to v2 2020-07-06 15:52:17 +02:00
register_auth.go move go module to v2 2020-07-06 15:52:17 +02:00
register_containers.go move go module to v2 2020-07-06 15:52:17 +02:00
register_distribution.go move go module to v2 2020-07-06 15:52:17 +02:00
register_events.go move go module to v2 2020-07-06 15:52:17 +02:00
register_exec.go move go module to v2 2020-07-06 15:52:17 +02:00
register_generate.go move go module to v2 2020-07-06 15:52:17 +02:00
register_healthcheck.go move go module to v2 2020-07-06 15:52:17 +02:00
register_images.go move go module to v2 2020-07-06 15:52:17 +02:00
register_info.go move go module to v2 2020-07-06 15:52:17 +02:00
register_manifest.go move go module to v2 2020-07-06 15:52:17 +02:00
register_monitor.go move go module to v2 2020-07-06 15:52:17 +02:00
register_networks.go move go module to v2 2020-07-06 15:52:17 +02:00
register_ping.go move go module to v2 2020-07-06 15:52:17 +02:00
register_play.go move go module to v2 2020-07-06 15:52:17 +02:00
register_plugins.go move go module to v2 2020-07-06 15:52:17 +02:00
register_pods.go move go module to v2 2020-07-06 15:52:17 +02:00
register_swagger.go move go module to v2 2020-07-06 15:52:17 +02:00
register_swarm.go move go module to v2 2020-07-06 15:52:17 +02:00
register_system.go move go module to v2 2020-07-06 15:52:17 +02:00
register_version.go move go module to v2 2020-07-06 15:52:17 +02:00
register_volumes.go move go module to v2 2020-07-06 15:52:17 +02:00
server.go Ensure umask is set appropriately for 'system service' 2020-07-06 14:21:17 -04:00
swagger.go move go module to v2 2020-07-06 15:52:17 +02:00