Grant "sudo" permissions to IDE 2.0

My advice is to focus on solving the real problem instead of trying to migrate your unsafe workaround to the new IDE.

Even though it didn't end up being useful in the linked thread, I think it is worth running dmesg just in case it might show some useful information.

  1. Open a terminal.
  2. Disconnect the USB cable of your Arduino board to your computer.
  3. Connect the USB cable of your Arduino board to your computer.
  4. Type this command:
    dmesg | tail --lines=20
    
  5. Press Enter
  6. Click and drag the mouse to select all the output in the terminal window.
  7. Press Ctrl+Shift+C.
    This will copy the selected text to the clipboard.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code block
  10. Press Ctrl+V.
    This will paste the output into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the Reply button to post the output.