aboutsummaryrefslogtreecommitdiffstats
path: root/lacme
diff options
context:
space:
mode:
Diffstat (limited to 'lacme')
-rwxr-xr-xlacme2
1 files changed, 1 insertions, 1 deletions
diff --git a/lacme b/lacme
index e5f8715..354a4a0 100755
--- a/lacme
+++ b/lacme
@@ -327,7 +327,7 @@ sub spawn_webserver() {
# create a temporary directory; give write access to the ACME client
# and read access to the webserver
- my $tmpdir = File::Temp::->newdir(CLEANUP => 1, TMPDIR => 1) // die;
+ my $tmpdir = File::Temp::->newdir(CLEANUP => 1, TMPDIR => 1, TEMPLATE => "acme-challenge.XXXXXXXXXX") // die;
chmod 0755, $tmpdir or die "chmod: $!";
if ((my $username = $CONFIG->{client}->{user}) ne '') {
my $uid = getpwnam($username) // die "getpwnam($username): $!";