Skip to content

Commit 4e99b70

Browse files
committed
use 0600 as default proxy socket endpoint file mode
1 parent 9f85bb1 commit 4e99b70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var (
2727
defaultWatchdogInterval = uint(0) // watchdog interval in seconds (0 to disable)
2828
defaultStopOnWatchdog = false // set to true to stop the program when the socket gets unavailable (otherwise log only)
2929
defaultProxySocketEndpoint = "" // empty string means no socket listener, but regular TCP listener
30-
defaultProxySocketEndpointFileMode = uint(0o400) // set the file mode of the unix socket endpoint
30+
defaultProxySocketEndpointFileMode = uint(0o600) // set the file mode of the unix socket endpoint
3131
defaultAllowBindMountFrom = "" // empty string means no bind mount restrictions
3232
)
3333

0 commit comments

Comments
 (0)