Correct permissions on files

This commit is contained in:
Ewoud Kohl van Wijngaarden
2016-02-23 14:09:07 +01:00
parent b1e3839323
commit 0db38e9d95
2 changed files with 2 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ class Issue implements Command {
file_put_contents("{$path}/{$token}", $payload);
chown("{$path}/{$token}", $userInfo["uid"]);
chmod("{$path}/{$token}", 0660);
chmod("{$path}/{$token}", 0664);
yield $acme->selfVerify($domain, $token, $payload);
$this->logger->info("Successfully self-verified challenge.");