This commit is contained in:
SpudGunMan
2025-11-06 20:28:13 -08:00
parent 0cc4bbf3cd
commit 55c29c36ba
2 changed files with 6 additions and 6 deletions

View File

@@ -33,8 +33,8 @@ chown -R "$TARGET_USER:$TARGET_USER" "/opt/meshing-around/-around"
chown -R "$TARGET_USER:$TARGET_USER" "/opt/meshing-around/-around/logs"
chown -R "$TARGET_USER:$TARGET_USER" "/opt/meshing-around/-around/data"
chown "$TARGET_USER:$TARGET_USER" "/opt/meshing-around/-around/config.ini"
chmod 640 "/opt/meshing-around/-around/config.ini"
chmod 750 "/opt/meshing-around/-around/logs"
chmod 750 "/opt/meshing-around/-around/data"
chmod 664 "/opt/meshing-around/-around/config.ini"
chmod 775 "/opt/meshing-around/-around/logs"
chmod 775 "/opt/meshing-around/-around/data"
echo "Permissions and ownership have been set."

View File

@@ -516,10 +516,10 @@ echo "----------------------------------------------"
sudo chown -R "$bot_user:$bot_user" "$program_path/logs"
sudo chown -R "$bot_user:$bot_user" "$program_path/data"
sudo chown "$bot_user:$bot_user" "$program_path/config.ini"
sudo chmod 640 "$program_path/config.ini"
sudo chmod 664 "$program_path/config.ini"
echo "Permissions set for meshbot on config.ini"
sudo chmod 750 "$program_path/logs"
sudo chmod 750 "$program_path/data"
sudo chmod 775 "$program_path/logs"
sudo chmod 775 "$program_path/data"
echo "Permissions set for meshbot on logs and data directories"
printf "\nInstallation complete?\n"