1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Clarify the actions of -s and the list of allowable names.

This commit is contained in:
Warner Losh 1997-10-06 16:28:47 +00:00
parent 657038ddf7
commit 20271f308f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30175

View File

@ -68,7 +68,8 @@ Due to the lack of authentication information,
.Nm tftpd
will allow only publicly readable files to be
accessed.
Files containing the string ``/\|\fB.\|.\fP\|/'' are not allowed.
Files containing the string ``/\|\fB.\|.\fP\|/'' or starting with
``\|\fB.\|.\fP\|/'' are not allowed.
Files may be written only if they already exist and are publicly writable.
Note that this extends the concept of
.Dq public
@ -110,6 +111,9 @@ Causes tftpd to chroot to
.Pa directory
before accepting commands. In addition, the user id is set to
nobody.
.Pp
If you are not running -s, no user id change will be
attempted. You should not run tftpd as root unless you are using -s.
.El
.Sh SEE ALSO
.Xr tftp 1 ,