Mke2fs now creates the lost+found directory with 0700 permissions, 
since files which get dropped into that directory may have come 
from a protected directory, and the system administrator may not 
deal with immediately.  (Addresses Debian bug #118443)

diff --git a/misc/ChangeLog b/misc/ChangeLog
index f693d61..bcdeefe 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,11 @@
+2001-12-24  Theodore Tso  <tytso@valinux.com>
+
+	* mke2fs.c (create_lost_and_found): The lost+found directory is
+		now created with 0700 permissions, since files which get
+		dropped into that directory may have come from a protected
+		directory, and the system administrator may not deal with
+		immediately.  (Addresses Debian bug #118443)
+
 2001-12-23  Theodore Tso  <tytso@valinux.com>
 
 	* Makefile.in, jfs_user.h: Move linux/jbd.h to
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index d60e28e..92f3463 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -493,6 +493,7 @@
 	int			i;
 	int			lpf_size = 0;
 
+	fs->umask = 077;
 	retval = ext2fs_mkdir(fs, EXT2_ROOT_INO, 0, name);
 	if (retval) {
 		com_err("ext2fs_mkdir", retval,
@@ -516,7 +517,7 @@
 				_("while expanding /lost+found"));
 			exit(1);
 		}
-	}		
+	}
 }
 
 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list)