User permission struggles - cannot save documents due to access denied

Dear Community, may I please request some help?

The story: I’ve been a long time LibreOffice user without much issue. Recently, I have migrated my whole system to a new computer. The old computer had Win10 Pro, and the new one has Win11 Pro. The old system had a different ‘Windows Username’, as a I selected a new name on the new computer without much thought. I put a fresh install of LibreOffice (latest version) onto the new computer, and tried to be tricky in copying across the old user Program Data to the new system. Ever since then I’ve had enormous trouble with LibreOffice, broadly to do with user permissions. Opening old files brings up a warning saying I do not have permission to open the document from a different user (prompting me to notify the other user and open as read-only). When trying to save anything, old or new, I will get hit with a similar warning saying I do not have permission to save the file to anywhere (except the new user folder on the C: drive). It has made the program unusable for me.

What I’ve done so far to try to fix the issue:

  • Set the folders where my documents are stored to have the read-only attribute turned off.
  • Tell Windows Defender antivirus to ignore soffice.bin file. I do not have any other antivirus software on, nor any anti-ransomeware protection turned on.
  • Clearing any user metadata from individual documents.
  • Looking for lock files to delete (didn’t find any)
  • Changing UseLocking in Expert Configuration (Advanced settings) to FALSE
  • Running LibreOffice (and any application shortcuts) as Adminstrator

The last two options seem to have yielded some limited success, but not consistently. Sometimes I can open and save, other times not.

I’m wondering if it’s something to do with a system-wide user permission setting on Windows? It would be significant trouble for me to change the Windows Username, so I’d like to avoid that if possible.

Please let me know if there’s any other technical information I can post that might help. Any help would be greatly appreciated!

Warm regards,
Mika

Update 1: I have found a way to use Task Manager in the Details section to set soffice.exe as Run As Administrator for all users. This seems to have fixed the issue for now, but I’ll keep testing…

I guess here is your problem together with

You will have several references to your old path-names, where your new user has no rights. It is possible to change ownership of files and folders, but this can be tedious.
.
I’d recommend to wipe LibreOffice (including profile) and install again. A simple trick on ownership: Use a smaller USB-Stick with old FAT-filesystem for transfer of personal files. You may be asked, if it is ok to loose some properties, but files should be without owner afterwards.
From your old profile import only files you need (like dictionaries).

Thanks for your reply. I forgot to mention I did part of what you suggested - I did a deep wipe / remove of LibreOffice from the new system, including all of the Program Data folder. But still had the issues listed above. I’m not sure if it’s picked up other data from elsewhere about ownership?

Certainly I’ll try your idea of file transfer via a usb formatted to FAT32 if I keep hitting a brick wall here…

The user-profile is kept in a regular uninstall. It is in the LibreOffice-folder below th hidden %APPDATA% Folder.

If new files are also an issue, it may be that any anti-virus or anti-malware program you have is blocking LibreOffice.

I too had experience the permissions problem. During my testing I found that a same named file would open from my SD card, but not from C: MyDocuments. Here is my solution:

  1. Turned off the read only attrubute for the MyDocuments directory on drive C:
  2. Uninstalled the 9/25/2026 version of LO
  3. Installed the most recent earlier copy of LO
    When the installation proceeded, it kept restarting and indicated Updating. It did this enough times that I was tempted to quit the installation, but I was patient and eventually got into LO. I closed LO then.
  4. I typically actually go to the file I want to load in Windows Explorer in MyDocuments and double click. This loads LO and opens the file. It was successful and I was able to normally edit and save the opened documents as usual.
  5. When I quit LO, I am returned to the same Windows directory that I loaded the test file from. What I noticed was that all the files in the directory " jumped". This is because the tilde lock temp file was deleted. This is normal behavior. Note, I tried to find the stuck lock file previously by toggling the show hidden files switch in Explorer. There were none. That likely was never the problem in the first place.

In conclusion, by uninstalling and reinstalling LO and allowing it to automatically update from an older version, I restored full fumction on my Win10 Home Dell XPS laptop. PC

PS. I still use Sync toy
PPS. If you use LO over time, you may have a suprising number of .bak files in your assigned backup directory going back years. Check it out