Changed write permissions to be 020 instead of 002. 002 is wrong becuase
authorScott Mace <smace@neosoft.com>
Thu, 16 Dec 1993 20:34:19 +0000 (20:34 +0000)
committerScott Mace <smace@neosoft.com>
Thu, 16 Dec 1993 20:34:19 +0000 (20:34 +0000)
it will allow other the write to the ttys, only group tty should be able
to write to the ttys.

usr.bin/mesg/mesg.c

index 7f2c0e5..40a8dfa 100644 (file)
@@ -55,7 +55,7 @@ static char sccsid[] = "@(#)mesg.c    4.7 (Berkeley) 3/1/91";
 #include <stdio.h>
 
 static char *tty;
 #include <stdio.h>
 
 static char *tty;
-#define        OTHER_WRITE     002
+#define        OTHER_WRITE     020
 
 main(argc, argv)
        int argc;
 
 main(argc, argv)
        int argc;