On 2/16/2013 12:56 AM, Rory O'Farrell wrote:
On Fri, 15 Feb 2013 17:01:22 -0600
Tom Harries <[email protected]> wrote:

Hi all. Thanks in advance for any assistance you can provide.
I Bought a new laptop, Lenovo, intel i5, running windows 8;
Transferred all my open office files (along with all my other personal
files, but not programs) via SycBack's restore feature from an external
hard drive.
Installed Open office on new computer.
Now when I attempt to open files that were transferred, many, but not
all files come up as locked for editing. I can view, or open a copy, but
not edit the original. I also cannot save the edited copy to replace the
original. with names such as .~lock.fred.odt#

Is there a way to universally turn off the editing lock on all these files?
I am not on an orginaizational network and there is no danger of two
people having one of these open at the same time.

Thanks,
Tom

With OpenOffice _closed_ you should enable viewing of hidden files; if you see "lock" files with 
names such as .~lock.fred.odt#, these can now be safely deleted and this should cure the locks on any 
iincoming files.  Note that such "lock" files are typically a few bytes in size, up to several 
hundred bytes, whereas the "real" file will typically be a minimum of about 7KB in size, so there 
should be no doubt about whether you are deleting a lock or a real file; the lock files also have distinctive 
characters in their name (the enclosing .~ and #).

Such lock files are sometimes left after an abnormal program termination, 
either of OpenOffice itself or a system crash, neither of which should happen 
in regular use.  If either of these happen with any frequency it is appropriate 
to find a cause.  They may also be left due to over hasty close down of 
OpenOffice, for instance closing a file then shutting down computer by closing 
the laptop lid (insufficient time for system or internal disk write buffers to 
flush).

If the transfer to backup media was done when OpenOffice was open, any open 
files might have had their locks transferred at that time, also any existing 
leftover locks; all these could and should be deleted in a simple housekeeping 
operation when the files are transferred to the new computer.

It can happen that transfers from an old computer to a new computer, with no 
hidden locks involved, come over as Read-only.  Sometimes such transferred 
files acquire read-only attributes from the transfer medium (CD or DVD) and 
such incoming files may need to be marked read-write at system level, or given 
more extended permissions/ownerships; I take it that this is not the case in 
the current problem.

Removing the ".~lock ..." files did the trick.
Thanks so much.
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to