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
This commit is contained in:
parent
82e83c60b3
commit
9ba6d8e420
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83919
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user