summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-17 07:06:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-17 07:06:35 +0000
commit8fc5820a38641c724dffce70278613ec2fe90cbf (patch)
tree56e36374db6f85d4d1bc9ada6b8342bd5136cda8 /sbin
parente9da606993843b8a92b53b94105fe53d8a01b94e (diff)
add CAVEAT documenting dotdot behaviour;
section taken from FreeBSD manual page, diff from Otto Moerbeek.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount/mount.811
1 files changed, 10 insertions, 1 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 303e66cfa74..2c8366b8684 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.8,v 1.42 2003/06/03 13:16:08 jmc Exp $
+.\" $OpenBSD: mount.8,v 1.43 2003/06/17 07:06:34 jmc Exp $
.\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -343,3 +343,12 @@ A
.Nm
command appeared in
.At v3 .
+.Sh CAVEATS
+After a successful
+.Nm mount ,
+the permissions on the original mount point determine if
+.Dq \&.\&.
+is accessible from the mounted file system.
+The minimum permissions for
+the mount point for traversal across the mount point in both
+directions to be possible for all users is 0111 (execute for all).