doc: describe the file permissions set by mktemp
authorBenoît Knecht <benoit.knecht@fsfe.org>
Wed, 13 Jul 2011 11:57:59 +0000 (13:57 +0200)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Jul 2011 14:12:28 +0000 (15:12 +0100)
* src/mktemp.c (usage): As above, for --help.
Reported by Jordi Pujol in http://bugs.debian.org/551093.
Wording improvments from Eric Blake.

THANKS.in
src/mktemp.c

index 867f0a8..6353708 100644 (file)
--- 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
index c6d0e58..2fe22b7 100644 (file)
@@ -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\