Saving sketches in a read-only filesystem. #1768
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
If you save a sketch in a read-only filesystem you get no error message.
This way you think you have saved the project but at the restart the saved sketch opens before the file system was read-only.
As a result, losing subsequent changes.
To reproduce
Try saving a sketch in a read-only filesystem.
Expected behavior
A dialog box should be shown stating that the operation cannot be performed.
Arduino IDE version
2.0.3
Operating system
Linux
Operating system version
Linux Mint 21
Additional context
This particular problem happens because using linux and then moving to windows and then again to linux sometimes the disk where I save the projects, formatted NTFS is mounted by linux in read only.
The project is not located in the sketchbook folder but in my personal folder.
I don't know if this changes things, I haven't run tests on this.
Issue checklist
The text was updated successfully, but these errors were encountered: