projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4bf8b60
)
Changed write permissions to be 020 instead of 002. 002 is wrong becuase
author
Scott Mace
<smace@neosoft.com>
Thu, 16 Dec 1993 20:34:19 +0000
(20:34 +0000)
committer
Scott 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
patch
|
blob
|
blame
|
history
diff --git
a/usr.bin/mesg/mesg.c
b/usr.bin/mesg/mesg.c
index
7f2c0e5
..
40a8dfa
100644
(file)
--- a/
usr.bin/mesg/mesg.c
+++ b/
usr.bin/mesg/mesg.c
@@
-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 0
02
+#define OTHER_WRITE 0
20
main(argc, argv)
int argc;
main(argc, argv)
int argc;