mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DOC: tighten directory permissions in cloud installation
The files in the containers directory may include secrets -- such as credentials for sending email. Previously, those could be world- readable depending on umask.
This commit is contained in:
parent
bb019aab5d
commit
14f61c5784
|
@ -45,6 +45,7 @@ Clone the [Official Discourse Docker Image][dd] into `/var/discourse`.
|
||||||
sudo -s
|
sudo -s
|
||||||
git clone https://github.com/discourse/discourse_docker.git /var/discourse
|
git clone https://github.com/discourse/discourse_docker.git /var/discourse
|
||||||
cd /var/discourse
|
cd /var/discourse
|
||||||
|
chmod 700 containers
|
||||||
|
|
||||||
You will need to be root through the rest of the setup and bootstrap process.
|
You will need to be root through the rest of the setup and bootstrap process.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user