Solution for #231 ?

This commit is contained in:
the-djmaze 2022-02-14 11:10:52 +01:00
parent 911f833ede
commit 185b4416a0

View file

@ -87,6 +87,7 @@ class GPG
throw new \Exception("socket name for '{$homedir}/S.gpg-agent.extra' is too long");
}
\clearstatcache();
if ($homedir && !\is_dir($homedir) && !\mkdir($homedir, 0700, true)) {
throw new \Exception("mkdir({$homedir}) failed");
}