Writer: Cannot access files I just created!??

Hi,

Using Macintosh 10.11.1 and have just downloaded LibreOffice 5.0.3 for Mac OS X x86_64. Installed without issue but....

Files I created this morning on a previous version, I think 5.01/5.02 are locked for editing?? This despite me having restarted the machine both before and after the software install, just in case it wanted to pull a Windows hissy fit on me :frowning:

I have run CleanMyMac to fix the file permissions and yet each time I try and open certain previously created files, the system indicated it is locked and that I would need to make a copy. None of the previous files I am trying to open are marked 'Read Only'.

When I open a copy of the file, edit it and then try and save it as the same name in the same location, I get the following error:

Error saving the document Untitled1:
Object not accessible.
The object cannot be accessed
due to insufficient user rights.

I am lost for ideas as a solution and any help would be appreciated.

Regards
Hylton

I think you have lock files that have not been deleted. See <<https://ask.libreoffice.org/en/question/33231/file-locked-in-libreoffice-no-lock-file-to-delete/>> for help.

Hi Hylton,

I am lost for ideas as a solution and any help would be appreciated.

By any chance, are you attempting to write the file to a USB connected
hard disk or key ?

Alex

Hello Hylton,

You could execute the following to find any lock files on a Mac:

- First make sure LibreOffice is not running (no dot in your menu bar).
if there is a dot, right click and select "quit"

- Open a terminal session

You could run the following commands to find lockfiles:
cd /
find . -type f -name '.~lock*' 2>&-

the output should show the LO lockfiles if any. The files are in a format .~lock.<filename>.ods.

Once you verified the filenames you can delete them by executing:
find . -type f -name '.~lock*' 2>&- | xargs -I % rm -v %

Hope this helps,

Rob