diff --git a/etc/set-permissions.sh b/etc/set-permissions.sh index 7d5e794..407155e 100644 --- a/etc/set-permissions.sh +++ b/etc/set-permissions.sh @@ -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." \ No newline at end of file diff --git a/install.sh b/install.sh index cbf459d..bf688b9 100755 --- a/install.sh +++ b/install.sh @@ -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"