From 57c9e8c2367ba89c6bee529e7764f63b5235e4ea Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 12 Dec 1996 23:37:50 +0000 Subject: (trivfs_S_file_chmod): Turn off S_ITRANS bits, and turn on S_IROOT in TERM_MODE. --- term/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term/users.c b/term/users.c index 8835204d..99191439 100644 --- a/term/users.c +++ b/term/users.c @@ -488,7 +488,7 @@ trivfs_S_file_chmod (struct trivfs_protid *cred, mode &= ~S_ISUID; } - term_mode = ((mode & ~S_IFMT) | S_IFCHR); + term_mode = ((mode & ~S_IFMT & ~S_ITRANS) | S_IFCHR | S_IROOT); err = 0; out: -- cgit v1.2.3