aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2022-06-28 13:13:39 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2022-06-28 13:20:05 +0000
commitbad2f716f4d3453fb9156b603cfaca44ea30fa31 (patch)
treec16dc6e53ee695f4503c9b4f4890dabb6917baaf /libexec/ftpd
parentecd3759719fcf5d37dd44896ebae0534db0dedd5 (diff)
downloadsrc-bad2f716f4d3453fb9156b603cfaca44ea30fa31.tar.gz
src-bad2f716f4d3453fb9156b603cfaca44ea30fa31.zip
ftp: Use /var/spool/ftp as ftp's home consistently
The home directory of the ftp user is /var/spool/ftp according to hier(7). Update the manual page of ftpd(8) to reflect that. MFC after: 2 weeks
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.87
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index 0cd62899189c..868acac61699 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -28,7 +28,7 @@
.\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd January 21, 2010
+.Dd June 28, 2022
.Dt FTPD 8
.Os
.Sh NAME
@@ -436,7 +436,7 @@ 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 .
+.Pa /var/spool/ftp/./pub .
In order that system security is not breached, it is recommended
that the
.Dq ftp
@@ -555,6 +555,9 @@ Displayed and access refused.
Log file for anonymous transfers.
.It Pa /var/log/xferlog
Default place for session logs.
+.It Pa /var/spool/ftp
+Recommended directory for the FTP root directory
+(the home directory of the ftp user).
.El
.Sh SEE ALSO
.Xr ftp 1 ,