X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath/blobdiff_plain/efa7a97bf01444f8bfdf25f488932912d3710974..79530c7d4b0866dd623deffdfeb856d6fabb285c:/tmpdir.1 diff --git a/tmpdir.1 b/tmpdir.1 index 4b690ff..c6286d8 100644 --- a/tmpdir.1 +++ b/tmpdir.1 @@ -1,3 +1,4 @@ +.\" -*-nroff-*- .TH tmpdir 1 "6 April 1999" "Local tools" .SH NAME tmpdir \- choose, or check a choice of, temporary directory @@ -28,10 +29,10 @@ The .B tmpdir program finds a secure place for temporary files, creating one if necessary. The criteria it uses to choose a place are as follows: -.IP 1. +.IP " 1." The temporary directory must be owned by the user, and have mode 700 (i.e., readable, writable and searchable only by the owner). -.IP 2. +.IP " 2." The path through the filesystem to the temporary directory must be secure against modifications by other malicious users. See the .BR chkpath (1) @@ -60,7 +61,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" @@ -70,7 +71,7 @@ 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 "\-v, --verify " 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 @@ -79,6 +80,7 @@ isn't). None known. .SH SEE ALSO .BR chkpath (1), +.BR checkpath (3), .BR tmpnam (3), .BR tmpfile (3). .SH AUTHOR