summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/fsck_ffs/dir.c6
-rw-r--r--sbin/fsck_ffs/fsck_ffs.810
2 files changed, 8 insertions, 8 deletions
diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c
index 9b79c368fe5..ad983e10e46 100644
--- a/sbin/fsck_ffs/dir.c
+++ b/sbin/fsck_ffs/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.4 1997/02/20 06:03:04 tholo Exp $ */
+/* $OpenBSD: dir.c,v 1.5 1997/03/27 16:28:51 kstailey Exp $ */
/* $NetBSD: dir.c,v 1.20 1996/09/27 22:45:11 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)dir.c 8.5 (Berkeley) 12/8/94";
#else
-static char rcsid[] = "$OpenBSD: dir.c,v 1.4 1997/02/20 06:03:04 tholo Exp $";
+static char rcsid[] = "$OpenBSD: dir.c,v 1.5 1997/03/27 16:28:51 kstailey Exp $";
#endif
#endif /* not lint */
@@ -57,7 +57,7 @@ static char rcsid[] = "$OpenBSD: dir.c,v 1.4 1997/02/20 06:03:04 tholo Exp $";
#include "extern.h"
char *lfname = "lost+found";
-int lfmode = 01777;
+int lfmode = 01700;
struct dirtemplate emptydir = { 0, DIRBLKSIZ };
struct dirtemplate dirhead = {
0, 12, DT_DIR, 1, ".",
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index 9969379596d..365169d3809 100644
--- a/sbin/fsck_ffs/fsck_ffs.8
+++ b/sbin/fsck_ffs/fsck_ffs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fsck_ffs.8,v 1.1 1996/10/20 08:36:33 tholo Exp $
+.\" $OpenBSD: fsck_ffs.8,v 1.2 1997/03/27 16:28:52 kstailey Exp $
.\" $NetBSD: fsck_ffs.8,v 1.12 1996/09/23 16:18:34 christos Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -168,10 +168,10 @@ an alternate super block.
Use the mode specified in octal immediately after the flag as the
permission bits to use when creating the
.Pa lost+found
-directory rather than the default 1777.
-In particular, systems that do not wish to have lost files accessible
-by all users on the system should use a more restrictive
-set of permissions such as 700.
+directory rather than the default 1700.
+In particular, systems that wish to have lost files accessible
+by all users on the system should use a less restrictive
+set of permissions such as 755.
.It Fl y
Assume a yes response to all questions asked by
.Nm fsck_ffs ;