aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.8
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2003-01-29 10:07:27 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2003-01-29 10:07:27 +0000
commitce9287fc02f73645761e9cd5fbcf8f5f8246dc7a (patch)
tree8fde0f8caa19168edffd0451d6616eaaf5c4e9b3 /libexec/ftpd/ftpd.8
parent76499f1539799ff3150668ad4abcd7951ba58053 (diff)
Notes
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r--libexec/ftpd/ftpd.811
1 files changed, 11 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index 9d9fd822679d..491c177d60a8 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -401,6 +401,17 @@ The server performs a
to the home directory of the
.Dq ftp
user.
+As a special case if the
+.Dq ftp
+user's home directory pathname contains the
+.Dq \&/./
+separator,
+.Nm
+uses its left-hand side as the name of the directory to do
+.Xr chroot 2
+to, and its right-hand side to change the current directory to afterwards.
+A typical example for this case would be
+.Pa /usr/local/ftp/./pub .
In order that system security is not breached, it is recommended
that the
.Dq ftp