summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index b652400a..9cd71c51 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1995, 96, 97, 98, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -491,7 +491,7 @@ trivfs_S_file_chmod (struct trivfs_protid *cred,
if (err)
goto out;
- mode &= S_ISVTX;
+ mode &= ~S_ISVTX;
if (!idvec_contains (cred->user->uids, term_owner))
mode &= ~S_ISUID;