summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-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);