--- linux/fs/namei.c-orig Mon Jan 7 23:07:52 2002 +++ linux/fs/namei.c Mon Jan 7 23:09:56 2002 @@ -2082,7 +2082,7 @@ { res= -EROFS; /* Nobody gets write access to a read-only fs */ goto out; } - else if ((mask & S_IWOTH) && IS_IMMUTABLE(inode)) + else if ((mask & S_IWOTH) && IS_IMMUTABLE_FILE(inode)) {res= -EACCES; /* Nobody gets write access to an immutable file */ goto out; }