Skip to content

Commit a93eed3

Browse files
authored
Merge pull request #62 from amanda-wee/update-proxysocketendpointfilemode-default
use 0600 as default proxy socket endpoint file mode
2 parents 093f6fb + 4e99b70 commit a93eed3

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)