summaryrefslogtreecommitdiffstats
path: root/guestfs-actions.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-06-24 19:57:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-06-24 19:57:24 +0100
commitda947eadcfa1367c2d634667068db813a87a6dd1 (patch)
tree8d92e6340cb2d0c587b9a242633f5576405e6e19 /guestfs-actions.pod
parent0574eab8bc7d8e72db862ec36815835938a5fdf1 (diff)
downloadlibguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.gz
libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.xz
libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.zip
Clarify documentation for mkdtemp.
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r--guestfs-actions.pod9
1 files changed, 6 insertions, 3 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod
index 82746a5a..755479fd 100644
--- a/guestfs-actions.pod
+++ b/guestfs-actions.pod
@@ -1198,15 +1198,18 @@ This function returns 0 on success or -1 on error.
This command creates a temporary directory. The
C<template> parameter should be a full pathname for the
-temporary directory with the six characters being
+temporary directory name with the final six characters being
"XXXXXX".
-For example: "/tmp/tmpXXXXXX" or "/Temp/tmpXXXXXX",
-the second one being suitable for Windows.
+For example: "/tmp/myprogXXXXXX" or "/Temp/myprogXXXXXX",
+the second one being suitable for Windows filesystems.
The name of the temporary directory that was created
is returned.
+The temporary directory is created with mode 0700
+and is owned by root.
+
The caller is responsible for deleting the temporary
directory and its contents after use.