Fix incorrect directory permission of /etc/letsencrypt/{live,archive}.

This commit is contained in:
Zhang Huangbin 2021-09-06 10:55:44 +08:00
parent 20b5a99560
commit 78ec593b09
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ Directory `/etc/letsencrypt/live/` and `/etc/letsencrypt/archive` are owned by
root user and group, with permission 0700 (set by `certbot` program) by
default, it means other users can not access them -- including the daemon users
used to run network services like Postfix/Dovecot/OpenLDAP/MariaDB/PostgreSQL.
It's necessary to set the permission to 0644 for other applications to access them.
It's necessary to set the permission to 0755 for other applications to access them.
```
chmod 0755 /etc/letsencrypt/{live,archive}

View File

@ -205,7 +205,7 @@ instead of <code>mail.mydomain.com</code> in this sample path).</p>
root user and group, with permission 0700 (set by <code>certbot</code> program) by
default, it means other users can not access them -- including the daemon users
used to run network services like Postfix/Dovecot/OpenLDAP/MariaDB/PostgreSQL.
It's necessary to set the permission to 0644 for other applications to access them.</p>
It's necessary to set the permission to 0755 for other applications to access them.</p>
<pre><code>chmod 0755 /etc/letsencrypt/{live,archive}
</code></pre>