summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2003-06-17 07:06:34 +0000
committerjmc <jmc@openbsd.org>2003-06-17 07:06:34 +0000
commit028d58778b677b35c10d47e5a4c1bcc28d43c17a (patch)
tree5a3f99a447ea819b9f43703fa5a7a417905b9dfb
parent- document "-G netgroup"; (diff)
downloadwireguard-openbsd-028d58778b677b35c10d47e5a4c1bcc28d43c17a.tar.xz
wireguard-openbsd-028d58778b677b35c10d47e5a4c1bcc28d43c17a.zip
add CAVEAT documenting dotdot behaviour;
section taken from FreeBSD manual page, diff from Otto Moerbeek.
-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).