patch-2.1.92 linux/fs/ext2/ioctl.c

Next file: linux/fs/ncpfs/ncplib_kernel.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/fs/ext2/ioctl.c linux/fs/ext2/ioctl.c
@@ -37,7 +37,7 @@
 		    (inode->u.ext2_i.i_flags &
 		     (EXT2_APPEND_FL | EXT2_IMMUTABLE_FL))) {
 			/* This test looks nicer. Thanks to Pauline Middelink */
-			if (!fsuser() || securelevel > 0)
+			if (!fsuser())
 				return -EPERM;
 		} else
 			if ((current->fsuid != inode->i_uid) && !fsuser())

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov