diff options
author | mikeh <mikeh@FreeBSD.org> | 2001-09-25 02:43:45 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2001-09-25 02:43:45 +0000 |
commit | a3f68a6bffc8444331b209faf58492fa726a4c00 (patch) | |
tree | 3218cdfc12c07f5d023378e0a705306d8992dec8 /libexec/ftpd/ftpd.8 | |
parent | de37df3afa1f24621257ddf200beb99f92ff146c (diff) | |
download | FreeBSD-src-a3f68a6bffc8444331b209faf58492fa726a4c00.zip FreeBSD-src-a3f68a6bffc8444331b209faf58492fa726a4c00.tar.gz |
Improve the description on how to construct ~ftp/pub. Specifically,
don't instruct users to set the directory mode 777.
PR: 30690
Obtained from: NetBSD (with modification)
MFC after: 2 weeks
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index d3f8c45..f100719 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -391,11 +391,13 @@ The file if present, will be printed after a successful login. These files should be mode 444. .It Pa ~ftp/pub -Make this directory mode 777 and owned by -.Dq ftp . -Guests -can then place files which are to be accessible via the anonymous -account in this directory. +This directory and the subdirectories beneath it should be owned +by the users and groups responsible for placing files in them, +and be writable only by them (mode 755 or 775). +They should +.Em not +be owned or writable by ftp or its group, otherwise guest users +can fill the drive with unwanted files. .El .Pp If the system has multiple IP addresses, |