summaryrefslogtreecommitdiff
path: root/src/mktemp.c
diff options
context:
space:
mode:
authorBenoît Knecht <benoit.knecht@fsfe.org>2011-07-13 13:57:59 +0200
committerPádraig Brady <P@draigBrady.com>2011-07-13 15:12:28 +0100
commitacdf4e99e6c328017952e827e8cc1044da563c06 (patch)
treed3e40c3301dfe855319ca75105751ea2055bf292 /src/mktemp.c
parent2c558fd0d36162559574b7696fe485913cdd9066 (diff)
downloadcoreutils-acdf4e99e6c328017952e827e8cc1044da563c06.tar.xz
doc: describe the file permissions set by mktemp
* src/mktemp.c (usage): As above, for --help. Reported by Jordi Pujol in http://bugs.debian.org/551093. Wording improvments from Eric Blake.
Diffstat (limited to 'src/mktemp.c')
-rw-r--r--src/mktemp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mktemp.c b/src/mktemp.c
index c6d0e58ec..2fe22b76b 100644
--- a/src/mktemp.c
+++ b/src/mktemp.c
@@ -72,6 +72,9 @@ Create a temporary file or directory, safely, and print its name.\n\
TEMPLATE must contain at least 3 consecutive `X's in last component.\n\
If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied.\n\
"), stdout);
+ fputs (_("\
+Files are created u+rw, and directories u+rwx, minus umask restrictions.\n\
+"), stdout);
fputs ("\n", stdout);
fputs (_("\
-d, --directory create a directory, not a file\n\