From 431b2d701576722f3ac2a8280d418c8283ebf433 Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 19 Nov 2001 21:29:08 +0000 Subject: [PATCH] Notes on the interaction between -c, -p and -U --- tftpd/tftpd.8.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in index d03c148..1b2538c 100644 --- a/tftpd/tftpd.8.in +++ b/tftpd/tftpd.8.in @@ -76,7 +76,12 @@ on all local addresses. Allow new files to be created. By default, .B tftpd will only allow upload of files that already exist. Files are created -with default permissions allowing anyone to read or write them. +with default permissions allowing anyone to read or write them, unless +the +.B \-p +or +.B \-U +options are specified. .TP .B \-s Change root directory on startup. This means the remote host does not @@ -99,9 +104,9 @@ username. .TP \fB\-U\fP \fIumask\fP Sets the \fIumask\fP for newly created files to the specified value. -The default is zero if the +The default is zero (anyone can read or write) if the .B \-p -option is not specified, or unchanged if +option is not specified, or inherited from the invoking process if .B \-p is specified. .TP