Unlock files saved from Ubuntu system

Issues with installing under all GNU/Linux Distributions
Post Reply
contentprovider
Posts: 2
Joined: Sun Dec 19, 2010 10:18 pm

Unlock files saved from Ubuntu system

Post by contentprovider »

 Edit: Split from Unlock spreadsheet because your situation is different since the original person used MacOS and you use Linux. If you had the same problem you could use the same solution. Please do not post in another's topic unless you are helping to solve their problem for them. 

the files were saved from a ubuntu system that crashed in Feb. the new system has a different user name and it switched from standard to that pos called snap. and since then everything has been corrupt.ed not working worklng lit it was a windoze machine and things worse.

I need to read those files and I need some help to ge to the m
/home/owner/snap/libreoffice/254/.config/libreoffice/4/.lock
/home/owner/snap/libreoffice/256/.config/libreoffice/4/.lock
/home/owner/snap/snap-store/547/.local/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/home/owner/snap/snap-store/558/.local/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/root/.config/libreoffice/4/.lock
/snap/code/97/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/code/98/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/core/13250/etc/.pwd.lock
/snap/core/13308/etc/.pwd.lock
/snap/core18/2344/etc/.pwd.lock
/snap/core18/2409/etc/.pwd.lock
/snap/core20/1494/etc/.pwd.lock
/snap/core20/1518/etc/.pwd.lock
/snap/gnome-3-34-1804/72/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/gnome-3-34-1804/77/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/gnome-3-38-2004/106/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/gnome-3-38-2004/99/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/snap-store/547/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/snap/snap-store/558/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
/usr/src/linux-headers-5.13.0-44-generic/kernel/Kconfig.locks
/usr/src/linux-headers-5.13.0-48-generic/kernel/Kconfig.locks
/usr/src/linux-hwe-5.13-headers-5.13.0-44/kernel/Kconfig.locks
/usr/src/linux-hwe-5.13-headers-5.13.0-48/kernel/Kconfig.locks
/var/lib/snapd/state.lock
/var/lib/snapd/inhibit/bare.lock
/var/lib/snapd/inhibit/chromium-ffmpeg.lock
/var/lib/snapd/inhibit/code.lock
/var/lib/snapd/inhibit/core.lock
/var/lib/snapd/inhibit/core18.lock
/var/lib/snapd/inhibit/core20.lock
/var/lib/snapd/inhibit/gnome-3-34-1804.lock
/var/lib/snapd/inhibit/gnome-3-38-2004.lock
/var/lib/snapd/inhibit/gtk-common-themes.lock
/var/lib/snapd/inhibit/libreoffice.lock
/var/lib/snapd/inhibit/snap-store.lock
/var/lib/snapd/inhibit/snapd.lock
/var/lib/snapd/inhibit/thunderbird.lock


would it help to add the same user name with the oldpassword as before and then upload from the back up those files to this added old user name. ?
Last edited by MrProgrammer on Mon Jun 13, 2022 4:34 pm, edited 1 time in total.
Reason: Split topic
OpenOffice 3.1 on Windows XP
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Unlock spreadsheet

Post by Villeroy »

Delete all lockfiles that had been copied from the old system. You have to be root do do so. Change ownership of all files in your home directory. You have to be root to do so.

Code: Select all

man chown
Alternatively, you can adjust your user ID to the user ID you had on the old system.

Code: Select all

ls -n
and

Code: Select all

man usermod
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Mr.Dandy
Posts: 427
Joined: Tue Dec 11, 2012 4:22 pm

Re: Unlock files saved from Ubuntu system

Post by Mr.Dandy »

OpenOffice 3.1 on Windows XP
Why this old signature if you are under Linux distro?

Let down snap install and use .DEB or .RPM
OpenOffice 4.1.12 - Windows 10
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: Unlock files saved from Ubuntu system

Post by Bill »

contentprovider wrote: Sun Jun 12, 2022 9:55 pm ...the new system has a different user name and it switched from standard to that pos called snap. and since then everything has been corrupt.ed not working worklng
Please put the operating system information and LibreOffice information in your signature. I recently installed Ubuntu 22.04 LTS for testing and LibreOffice was installed from the Ubuntu repository, not from the Snap Store.
contentprovider wrote: Sun Jun 12, 2022 9:55 pm would it help to add the same user name with the oldpassword as before and then upload from the back up those files to this added old user name. ?
I don't know if that would work (I haven't tested it). The lock files contain more than the user name. They also contain the computer name and the location of the user profile.
AOO 4.1.14 on Ubuntu MATE 22.04
Post Reply