From: BenoƮt Knecht Date: Wed, 13 Jul 2011 11:57:59 +0000 (+0200) Subject: doc: describe the file permissions set by mktemp X-Git-Tag: v8.13~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acdf4e99e6c328017952e827e8cc1044da563c06;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/THANKS.in b/THANKS.in index 867f0a8a04..6353708f08 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 c6d0e58ec1..2fe22b76bc 100644 --- a/src/mktemp.c +++ b/src/mktemp.c @@ -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 (_("\