summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkroy <kroy@kroy.io>2020-11-03 11:47:59 -0600
committerkroy <kroy@kroy.io>2020-11-03 11:47:59 -0600
commite0830658dcba7d62b914479c6d8ab4e5a1312760 (patch)
treea4de2ab70eeaea7ade90458719d3bf102e15ce9a
parent5b844448486b73da1bbbbb1401ceb9feff5bbf62 (diff)
downloadvyos-1x-e0830658dcba7d62b914479c6d8ab4e5a1312760.tar.gz
vyos-1x-e0830658dcba7d62b914479c6d8ab4e5a1312760.zip
T2465: Fixing permissions on socket so DHCP works
-rwxr-xr-xsrc/services/vyos-hostsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd
index 59dbeda17..4c4bb036e 100755
--- a/src/services/vyos-hostsd
+++ b/src/services/vyos-hostsd
@@ -589,7 +589,7 @@ if __name__ == '__main__':
socket = context.socket(zmq.REP)
# Set the right permissions on the socket, then change it back
- o_mask = os.umask(0o007)
+ o_mask = os.umask(0o000)
socket.bind(SOCKET_PATH)
os.umask(o_mask)