summaryrefslogtreecommitdiff
path: root/term/main.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-05 16:43:37 +0000
committerMiles Bader <miles@gnu.org>1997-02-05 16:43:37 +0000
commit59eb071f4c79d523e92d3f361834afc8980f389f (patch)
tree08958e4db71cb6744d9f87bf880bf333b3fbf47b /term/main.c
parent75910f73ed47e2c8d0013cb46aa105d239b3bda9 (diff)
(main):
Add S_IROOT to TERM_MODE.
Diffstat (limited to 'term/main.c')
-rw-r--r--term/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/main.c b/term/main.c
index 2f8ac449..2503610c 100644
--- a/term/main.c
+++ b/term/main.c
@@ -178,7 +178,7 @@ main (int argc, char **argv)
mutex_init (&global_lock);
term_owner = term_group = 0;
- term_mode = (bottom == &ptyio_bottom ? 0666 : 0600) | S_IFCHR;
+ term_mode = (bottom == &ptyio_bottom ? 0666 : 0600) | S_IFCHR | S_IROOT;
inputq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT);
rawq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT);