summaryrefslogtreecommitdiff
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
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.
-rw-r--r--THANKS.in1
-rw-r--r--src/mktemp.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index 867f0a8a0..6353708f0 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -298,6 +298,7 @@ John Stanley johnstops@verizon.net
John Summerfield summer@OS2.ami.com.au
Jon Peatfield J.S.Peatfield@damtp.cam.ac.uk
Joost van Baal joostvb@xs4all.nl
+Jordi Pujol jordipujolp@gmail.com
Jorge Stolfi stolfi@ic.unicamp.br
Joseph S. Myers jsm28@cam.ac.uk
Josh Triplett josh@freedesktop.org
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\