Re: [2.1.36] Permission problems..

David S. Miller (davem@jenolan.rutgers.edu)
Thu, 24 Apr 1997 16:35:50 -0400


Apply Andy Kleen's patch he posted yesterday (in fact posted multiple
times by vger ;-)

--- linux/fs/inode.c.~1~ Mon Apr 21 14:15:18 1997
+++ linux/fs/inode.c Wed Apr 23 16:59:47 1997
@@ -288,7 +288,7 @@

((attr->ia_valid & ATTR_GID) &&
(!in_group_p(attr->ia_gid) &&
- (attr->ia_gid != inode->i_gid))) ||
+ (attr->ia_gid != inode->i_gid)) && not_fsuser) ||

((attr->ia_valid & (ATTR_ATIME_SET | ATTR_MTIME_SET)) &&
(fsuid != iuid) && not_fsuser))