diff options
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Sys/Guestfs.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index bd2a80c9..83fbbb10 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -856,15 +856,18 @@ as necessary. This is like the C<mkdir -p> shell command. 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. |