lkml.org 
[lkml]   [1997]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.1.36 typo
In fs/inode.c, the check for permissions to change group ownership was
not checking for root access. This was preventing me from doing an X
session login on my setup...

--- linux/fs/inode.c~ Wed Apr 23 18:11:44 1997
+++ linux/fs/inode.c Wed Apr 23 21:43:41 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))


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.079 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site