diff options
author | Miles Bader <miles@gnu.org> | 1996-12-12 23:37:50 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-12-12 23:37:50 +0000 |
commit | 57c9e8c2367ba89c6bee529e7764f63b5235e4ea (patch) | |
tree | 04b6d8e0fd7a89424fdc993c47c81bea93e49614 | |
parent | 3f834f9471d0863282b1b97ca204d78135a23ff3 (diff) |
(trivfs_S_file_chmod):
Turn off S_ITRANS bits, and turn on S_IROOT in TERM_MODE.
-rw-r--r-- | term/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |