git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify documentation for mkdtemp.
[libguestfs.git]
/
guestfs-actions.pod
diff --git
a/guestfs-actions.pod
b/guestfs-actions.pod
index
82746a5
..
755479f
100644
(file)
--- 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
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".
"XXXXXX".
-For example: "/tmp/
tmpXXXXXX" or "/Temp/tmp
XXXXXX",
-the second one being suitable for Windows.
+For example: "/tmp/
myprogXXXXXX" or "/Temp/myprog
XXXXXX",
+the second one being suitable for Windows
filesystems
.
The name of the temporary directory that was created
is returned.
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.
The caller is responsible for deleting the temporary
directory and its contents after use.