]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 867f0a8a049810473de99d22b73e57fb44b0a3c7..6353708f086524d0b411b7c0b8b5a2a2b7f4c7d3 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 c6d0e58ec1af5ec3457d0093e9c43ed5ffeb35b2..2fe22b76bccdba61e184f4fe27f03191ce9c3db5 100644 (file)
@@ -71,6 +71,9 @@ usage (int status)
 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 (_("\