summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-07-26 16:01:24 +0000
committeryar <yar@FreeBSD.org>2002-07-26 16:01:24 +0000
commitae142b414474d6fc15cf29964ffa9c227c5b1881 (patch)
tree40fec457f7f01cc00c29c4ca87fc76e74247a2be /libexec/ftpd
parentdc1ed5c34f6a189518f9b5d47af844bd78312ea8 (diff)
downloadFreeBSD-src-ae142b414474d6fc15cf29964ffa9c227c5b1881.zip
FreeBSD-src-ae142b414474d6fc15cf29964ffa9c227c5b1881.tar.gz
Document the -u (set umask) option
(which has been there at least since 4.4BSD-Lite!) MFC after: 2 weeks
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.89
1 files changed, 9 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index b7ae30c..0e22b1d 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -46,6 +46,7 @@
.Op Fl p Ar file
.Op Fl t Ar timeout
.Op Fl T Ar maxtimeout
+.Op Fl u Ar umask
.Sh DESCRIPTION
The
.Nm
@@ -167,6 +168,13 @@ seconds with the
.Fl T
option.
The default limit is 2 hours.
+.It Fl u
+The default file creation mode mask is set to
+.Ar umask ,
+which is expected to be an octal numeric value.
+Refer to
+.Xr umask 2
+for details.
.It Fl U
In previous versions of
.Nm ,
@@ -485,6 +493,7 @@ Log file for anonymous transfers.
.Sh SEE ALSO
.Xr ftp 1 ,
.Xr key 1 ,
+.Xr umask 2 ,
.Xr getusershell 3 ,
.Xr login.conf 5 ,
.Xr inetd 8 ,
OpenPOWER on IntegriCloud