summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/ChangeLog4
-rw-r--r--libdiskfs/file-chmod.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 1eebec53..bfb2e141 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
+
Mon Feb 24 17:22:05 1997 Miles Bader <miles@gnu.ai.mit.edu>
* io-identity.c (diskfs_S_io_identity): Pass CRED's shadow root
diff --git a/libdiskfs/file-chmod.c b/libdiskfs/file-chmod.c
index c27b5854..66c51a32 100644
--- a/libdiskfs/file-chmod.c
+++ b/libdiskfs/file-chmod.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: file_chmod
- Copyright (C) 1992, 1993, 1994, 1996 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -22,7 +22,7 @@ error_t
diskfs_S_file_chmod (struct protid *cred,
mode_t mode)
{
- mode &= ~(S_IFMT | S_ISPARE);
+ mode &= ~(S_IFMT | S_ISPARE | S_ITRANS);
CHANGE_NODE_FIELD (cred,
({