X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath/blobdiff_plain/19cb3d11c1fdc570477f4e4e9f24fdb289049d8b..2422994b351992769be18b4fccf33d9b59669969:/tmpdir.1 diff --git a/tmpdir.1 b/tmpdir.1 index 08a3a49..05030ba 100644 --- a/tmpdir.1 +++ b/tmpdir.1 @@ -4,14 +4,16 @@ tmpdir \- choose, or check a choice of, temporary directory .SH SYNOPSIS .B tmpdir -.RB [ \-bc ] -.RB [ \-v +.RB [ \-bcv ] +.RB [ \-g +.IR group ] +.RB [ \-C .IR dir ] .SH USAGE The .B tmpdir program creates a secure place for temporary files to be stored, and -outputs an assignment to the +outputs an assignment to the .B TMPDIR variable suitable for execution by a shell. .PP @@ -61,7 +63,7 @@ fails too, then .B tmpdir gives up: if your home directory's not secure (or full) than a secure temporary directory is the least of your worries. -.SS OPTIONS +.SS Options The following options are supported: .TP .B "\-b, \-\-bourne" @@ -71,7 +73,15 @@ examine the user's shell and decide which syntax to use based on that. .B "\-c, \-\-cshell" Output an assignment using C shell syntax. .TP -.BI "\-v, --verify=" dir +.BI "\-g, \-\-group " group +Trust (the members of) +.IR group : +consider directories they can write to be safe. +.TP +.B "-v, \-\-verbose" +Report problems to standard error. Repeat for more verbosity. +.TP +.BI "\-C, --check " dir Don't try to find a temporary directory; just see whether .I dir is secure, and exit successfully if it is (and unsuccessfully if it @@ -80,6 +90,7 @@ isn't). None known. .SH SEE ALSO .BR chkpath (1), +.BR checkpath (3), .BR tmpnam (3), .BR tmpfile (3). .SH AUTHOR