From 78ec593b09e84a30cafee4c2c3ba4fc0558bd6af Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Mon, 6 Sep 2021 10:55:44 +0800
Subject: [PATCH] Fix incorrect directory permission of
/etc/letsencrypt/{live,archive}.
---
en_US/howto/letsencrypt.md | 2 +-
html/letsencrypt.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/en_US/howto/letsencrypt.md b/en_US/howto/letsencrypt.md
index d774cab6..f8465bf5 100644
--- a/en_US/howto/letsencrypt.md
+++ b/en_US/howto/letsencrypt.md
@@ -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}
diff --git a/html/letsencrypt.html b/html/letsencrypt.html
index 8e214887..c6149cf2 100644
--- a/html/letsencrypt.html
+++ b/html/letsencrypt.html
@@ -205,7 +205,7 @@ instead of mail.mydomain.com
in this sample path).
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}