created with mode 0700.
+2002-10-08 Theodore Ts'o <tytso@mit.edu>
+
+ * pass3.c (e2fsck_get_lost_and_found): Create the lost+found
+ directory with mode 0700.
+
2002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
* pass2.c (parse_int_node, check_dir_block): Add byte-swap
* Set up the inode structure
*/
memset(&inode, 0, sizeof(inode));
- inode.i_mode = 040755;
+ inode.i_mode = 040700;
inode.i_size = fs->blocksize;
inode.i_atime = inode.i_ctime = inode.i_mtime = time(0);
inode.i_links_count = 2;
+2002-10-11 Theodore Ts'o <tytso@mit.edu>
+
+ * mklost+found.c (main): Make sure the lost+found directory is
+ created with 0700 permissions.
+
2002-10-02 Theodore Ts'o <tytso@mit.edu>
* e2image.c (write_raw_image_file): Handle a bad block in the
fprintf (stderr, _("Usage: mklost+found\n"));
exit(1);
}
- if (mkdir (LPF, 0755) == -1) {
+ if (mkdir (LPF, 0700) == -1) {
perror ("mkdir");
exit(1);
}