summaryrefslogtreecommitdiff
path: root/src/services/vyos-hostsd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-03 19:42:55 +0100
committerGitHub <noreply@github.com>2020-11-03 19:42:55 +0100
commitc0959295e49ff98eafadd6ff7faaca8fa39e26da (patch)
tree62bd52ece0676de255b92db200809d196d8a5b0f /src/services/vyos-hostsd
parent355fd1ba209225aa23183012be76485d1fd29ac3 (diff)
parente0830658dcba7d62b914479c6d8ab4e5a1312760 (diff)
downloadvyos-1x-c0959295e49ff98eafadd6ff7faaca8fa39e26da.tar.gz
vyos-1x-c0959295e49ff98eafadd6ff7faaca8fa39e26da.zip
Merge pull request #592 from kroy-the-rabbit/dhcp-fix
T2465: Fixing permissions on socket so DHCP works
Diffstat (limited to 'src/services/vyos-hostsd')
-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)