From 59eb071f4c79d523e92d3f361834afc8980f389f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 5 Feb 1997 16:43:37 +0000 Subject: (main): Add S_IROOT to TERM_MODE. --- term/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term/main.c') 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); -- cgit v1.2.3