From acdf4e99e6c328017952e827e8cc1044da563c06 Mon Sep 17 00:00:00 2001 From: BenoƮt Knecht Date: Wed, 13 Jul 2011 13:57:59 +0200 Subject: 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. --- THANKS.in | 1 + src/mktemp.c | 3 +++ 2 files changed, 4 insertions(+) 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 @@ -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 (_("\ -- cgit v1.2.3-70-g09d2