I use createLibraryLink(mylib,mypath,True) in a macro *within* a document as in:
Each time I save the document the macro library in "mypath" is "updated" according to filesystem timestamp.
I do *not* want that to happen. As I specified "True" as the third parameter to the funcion, I'm expecting the document to be saved but NOT the macro library in "mypath" which should be read-only.
If I set read-only rights to "mypath", LibreOffice complains with an I/O error.
This sounds like a bug to me.
Seen in LO 7.0.6 and 7.1.1.
Steps to Reproduce:
2. set mypath read-only
3. save document
you should see an I/O error reported by LO
No error. Macro lib loaded read-only should be left untouched.
User Profile Reset: Yes
Version: 126.96.36.199 (x64) / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
LibreOffice 188.8.131.52 also has the same behavior.
Can you attach files for testing? Or least give the actual code for how you call createLibraryLink, so people who have never used it before don't have to figure out how to give the arguments.
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the documents.