Libre office opens my Open Office .odt files as read only. It lets me edit them but won’t let me save them after they are edited. Any ideas?

Error saving file. File could not be written

Please remove meta tag it refers to operation of ask.Libreoffice

No operating system and version given so general suggestion only.

In Windows 10 you need to allow Libreoffice to access folders protected by ransomware protection. This could be in your third party anti virus or Windows Defender included with Windows.

In Apple you need to allow full disc access

For Windows Defender, see question 260669

Thank you!