Files are suddenly Read Only?

Earlier this week, I updated the Logic and Firmware on my Groov Epic for a new series of experiments. Upon restarting use, it was hit-or-miss with data logging. Specifically this morning I changed 2 blocks in the logic, ran a test experiment and it logged fine. Started an actual experiment 10 minutes later and no data log.

The error message in the Node-RED Console Log is as follows:
(14 Feb 10:59:20 - [error] [file:Save CSV file] failed to append to file: Error: EROFS: read-only file system, open ‘/run/media/sdb1/1269-74.csv’)

Does anyone have any ideas as to why certain files are suddenly read only? From what I can tell, the logic is parsing out the data correctly into the desired Numeric Table. The Node-RED flow also appear to be operating correctly up to the point of actually writing the data to a new line on the desired file.

Some options off the top of my head…

If you have moved the USB stick, it will get a new mount point.
If you unplug and plug in the stick without unmounting first, Linux can get grumpy.

Both could lead to a read only file mount.

Here is a good thread on how to use Node-RED to call the unmount API.

Thank you - the USB unmounting idea might be a good lead. Before running the firmware update, I attempted to unmount it correctly, but it didn’t seem like it responded to the command.