I had been using Calc 4.x to view automated test reports in CSV format, since I could open them as read-only and do a quick "reload" after a new one had been generated. In calc 4.x, the file was still read-only after doing "reload". In Calc 5.0.0, the file is opened normally (read/write) after the reload.
Side effect of: commit a199cad8376a5470c50125def2738b44b55ec018 Author: Stephan Bergmann <sbergman@redhat.com> Date: Mon Apr 27 11:35:55 2015 +0200 tdf#65498, tdf#87545: Don't confuse logically r/o doc with physically r/o @Stephan: Could you have a look, please?
I am also having this issue with Version 5.2.0.4 of calc on windows 10. I use file->open then check read-only. shows (read-only) in window tile bar. I run external script that changes the file. I then do file->reload, the file does reload with the new changes but the (read-only) in the title bar is gone and the file is back to write mode which then blocks my script from writing changes to that file. tested with same result in writer.
Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=191c0a9e7719b777146430486d703641aaff43bf tdf#93630: Remember whether a doc was originally requested to be opened r/o It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.