diff options
author | mdodd <mdodd@FreeBSD.org> | 2004-05-24 22:56:15 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2004-05-24 22:56:15 +0000 |
commit | dbabd85d3efcd6c357cd7c912cc9a6d5929f1d4c (patch) | |
tree | 0c0a2085148b23e83645fc973c41ad5b84720e0a /libexec/tftpd/tftpd.8 | |
parent | 322e28b5538399dca2d1063201a6d19520eeaffc (diff) | |
download | FreeBSD-src-dbabd85d3efcd6c357cd7c912cc9a6d5929f1d4c.zip FreeBSD-src-dbabd85d3efcd6c357cd7c912cc9a6d5929f1d4c.tar.gz |
Add two new flags: -w, which allows new files to be created,
and -U, which allows the umask to be set.
Obtained from: Patton Electronics, Co.
Diffstat (limited to 'libexec/tftpd/tftpd.8')
-rw-r--r-- | libexec/tftpd/tftpd.8 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libexec/tftpd/tftpd.8 b/libexec/tftpd/tftpd.8 index 953dff7..3d746ac 100644 --- a/libexec/tftpd/tftpd.8 +++ b/libexec/tftpd/tftpd.8 @@ -40,9 +40,10 @@ .Nd Internet Trivial File Transfer Protocol server .Sh SYNOPSIS .Nm /usr/libexec/tftpd -.Op Fl cCln +.Op Fl cClnw .Op Fl s Ar directory .Op Fl u Ar user +.Op Fl U Ar umask .Op Ar directory ... .Sh DESCRIPTION The @@ -163,6 +164,14 @@ when the .Fl s option is used. The user must be specified by name, not a numeric UID. +.It Fl U Ar umask +Set the +.Ar umask +for newly created files. The default is 022 (S_IWGRP|S_IWOTH). +.It Fl w +Allow writes requests to create new files. By default +.Nm +requires that the file specified in a write request exist. .El .Sh SEE ALSO .Xr tftp 1 , |