diff options
author | John Estabrook <jestabro@vyos.io> | 2024-10-23 18:50:46 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-10-27 21:47:40 -0500 |
commit | 73652e2bfc8a785e9b3dc447e0a0ced4716549e3 (patch) | |
tree | 2f07f6372e1cb919e5c8786ad3ba40c6708315b3 /src/startup.ml | |
parent | 43df38febc4798d991d5d1425e997a2cd3fc29fd (diff) | |
download | vyconf-73652e2bfc8a785e9b3dc447e0a0ced4716549e3.tar.gz vyconf-73652e2bfc8a785e9b3dc447e0a0ced4716549e3.zip |
T6718: set perms on socket for group write access
Diffstat (limited to 'src/startup.ml')
-rw-r--r-- | src/startup.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/startup.ml b/src/startup.ml index beb125e..db0d719 100644 --- a/src/startup.ml +++ b/src/startup.ml @@ -67,6 +67,7 @@ let create_socket sockfile = let backlog = 10 in let%lwt sock = socket PF_UNIX SOCK_STREAM 0 |> Lwt.return in let%lwt () = Lwt_unix.bind sock @@ ADDR_UNIX(sockfile) in + let%lwt () = Lwt_unix.chmod sockfile 0o775 in listen sock backlog; Lwt.return sock |