LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2012, 10:08 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 549

Rep: Reputation: 28
libreoffice document locked


I have a number of documents created by OpenOffice.org and libreoffice which I cannot edit. When I try to open them, I get a message saying they are locked by an unknown user. These documents have been created by me, and saved and closed properly. I cannot find anything that looks like a lock-file.

Today I created a file, closed it, and exited libreoffice.
I moved the file to a different directory, and *could not edit it*.
I moved it back to the original directory and could!

What's going on here? Is it some sort of security measure? A while back I reorganized my disk structure which resulted in all my word-processing documents getting moved.

Annoyed,
Jim
 
Old 06-13-2012, 12:18 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Where have you looked for lock files ?
There may be one in the same directory or there may be some under ~/.config or ~/.libreoffice/3

They will be dot files anyway (hidden).

Here's something similar - http://listarchives.libreoffice.org/.../msg19547.html

Last edited by smoker; 06-13-2012 at 12:21 PM.
 
Old 06-14-2012, 04:03 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 549

Original Poster
Rep: Reputation: 28
I use 'updatedb' and 'locate', which displays the paths of hidden files. I would think that if there were a lockfile, that the document would not be editable in either location.

I have checked again. While editing the document a lockfile is present in the doc's directory. When I closed and quit libreoffice the lockfile was removed. Once again the file was not editable in a different directory. No lockfile is present in the new directory.

Breaking news! The problem only occurs if the new directory is on my Buffalo NAS drive. The file is editable on other directories on the same computer.

The problem appears to be permissions related. I tried to save a copy of the file to the NAS drive and it failed. I'm not sure why I can copy a file to the remote directory but cannot save a file to the same location from within a program. I looks like libreoffice's attempt to create a lockfile fails and that is interpreted as another lockfile already exists. If that's the case, it's bad programming.

In any case, I think I'll call this problem solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 01:10 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 03:50 PM
LXer: Interview: Charles H. Schulz on LibreOffice and The Document Foundation LXer Syndicated Linux News 0 04-06-2011 01:50 PM
LXer: The Document Foundation launches LibreOffice 3.3 LXer Syndicated Linux News 0 01-25-2011 08:30 AM
LXer: This week at LWN: Michael Meeks talks about LibreOffice and the Document Foundation LXer Syndicated Linux News 0 10-09-2010 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration