summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-05-23 08:12:36 +0000
committerpaul <paul>2003-05-23 08:12:36 +0000
commit1921e6f8965701040fe1b4f27619b2d7f3fec254 (patch)
tree9f8dc5d94e1fb11a86585864e45401f552ecf2dd
parent68f43848fa0f8ac16c768bafb8891495dcf232ae (diff)
Allow group access to vty socket.
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index d1db7f40..5ef364a0 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1856,7 +1856,7 @@ vty_serv_un (char *path)
unlink (path);
/* Set umask */
- old_mask = umask (0077);
+ old_mask = umask (0007);
/* Make UNIX domain socket. */
sock = socket (AF_UNIX, SOCK_STREAM, 0);