Updated install document - Corrected chmod command examples. (#6035)

Attocode1 committed Apr 18, 2024 at 09:41 UTC 18b731fd36ba7b5e8ed2e90117e464d54c838b9d
1 file changed +3 -3
docs/docs/install/install2.md
+3 -3
@@ -895,7 +895,7 @@ The last line will run MeshCentral manually and allow it to install any missing
895
896 ```
897 sudo chown -R meshcentral:meshcentral /opt/meshcentral
898 -sudo chmod 755 –R /opt/meshcentral/meshcentral-*
898 +sudo chmod -R 755 /opt/meshcentral/meshcentral-*
899 ```
900
901 To make this work, you will need to make MeshCentral work with MongoDB because the /meshcentral-data folder will be read-only. In addition, MeshCentral will not be able to update itself since the account does not have write access to the /node_modules files, so the update will have to be manual. First used systemctl to stop the MeshCentral server process, than use this:
@@ -912,7 +912,7 @@ This will perform the update to the latest server on NPM and re-set the permissi
912 MeshCentral allows users to upload and download files stores in the server’s `meshcentral-files` folder. In an increased security setup, we still want the server to be able to read and write files to this folder and we can allow this with:
913
914 ```
915 -sudo chmod 755 –R /opt/meshcentral/meshcentral-files
915 +sudo chmod -R 755 /opt/meshcentral/meshcentral-files
916 ```
917
918 If you plan on using the increased security installation along with MeshCentral built-in Let’s Encrypt support you will need to type the following commands to make the `letsencrypt` folder in `meshcentral-data` writable.
@@ -920,7 +920,7 @@ If you plan on using the increased security installation along with MeshCentral
920 ```
921 sudo mkdir /opt/meshcentral/meshcentral-data
922 sudo mkdir /opt/meshcentral/meshcentral-data/letsencrypt
923 -sudo chmod 755 –R /opt/meshcentral/meshcentral-data/letsencrypt
923 +sudo chmod -R 755 /opt/meshcentral/meshcentral-data/letsencrypt
924 ```
925
926 This will allow the server to get and periodically update its Let’s Encrypt certificate. If this is not done, the server will generate an `ACCES: permission denied` exception.