Fix directory permissions

This commit is contained in:
Niklas Keller
2018-01-11 17:11:28 +01:00
parent 69bc88daf1
commit 256aa76011
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ class CertificateStore {
$path = $this->root . '/' . $commonName;
if (!yield File\isdir($path)) {
yield File\mkdir($path, 0644, true);
yield File\mkdir($path, 0755, true);
if (!yield File\isdir($path)) {
throw new FilesystemException("Couldn't create certificate directory: '{$path}'");