Closed as not planned
Description
System: macOS 10.14.6 (Intel)
Start IDE 2.2.1
Create simple Hello World code
Save in Documents/Arduino
(or any other path probably)
Sketch>Export Compiled Binary
error in IDE:
cp: {sketch_path}: Permission denied
exit status 1
Compilation error: exit status 1
Possibly related:
If I double click any *.ino file when IDE 2.2.1 is not running, IDE starts but the actual sketch is never opened and the Open option under File in the IDE 2.2.1 Menu bar is not even present, there's only a greyed out Close.
Backing to IDE 2.0.4 eliminates this error.