From: paul Date: Fri, 23 May 2003 08:12:36 +0000 (+0000) Subject: Allow group access to vty socket. X-Git-Tag: frr-2.0-rc1~4053 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1921e6f8965701040fe1b4f27619b2d7f3fec254;p=mirror%2Ffrr.git Allow group access to vty socket. --- diff --git a/lib/vty.c b/lib/vty.c index d1db7f40f3..5ef364a080 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);