summaryrefslogtreecommitdiffstats
path: root/java
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 /java
parent0574eab8bc7d8e72db862ec36815835938a5fdf1 (diff)
downloadlibguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.gz
libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.xz
libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.zip
Clarify documentation for mkdtemp.
Diffstat (limited to 'java')
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index dff2373b..c664801d 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -3539,15 +3539,19 @@ public HashMap<String,String> test0rhashtableerr ()
* <p>
* This command creates a temporary directory. The
* "template" parameter should be a full pathname for the
- * temporary directory with the six characters being
- * "XXXXXX".
+ * temporary directory name with the final six characters
+ * being "XXXXXX".
* <p>
- * 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.
* <p>
* The name of the temporary directory that was created is
* returned.
* <p>
+ * The temporary directory is created with mode 0700 and is
+ * owned by root.
+ * <p>
* The caller is responsible for deleting the temporary
* directory and its contents after use.
* <p>