At 21:27 25/05/2009 +0100, Elliot Orwells wrote:
I have this oocalc file which now only opens in read-only mode (and isn't supposed to). If I copy it somewhere else in the same filesystem however, it opens normally (which means, nothing is wrong in the oocalc file settings). If I change its name, it opens normally. It's not an issue of file ownership/permissions, I've tried all chmod permissions and I "own" all the directories. In fact all oocalc files in the same directory open fine.
This is very much a guess (and you don't say what version of OpenOffice or what operating system you are using), but do you have a rogue lock file? Recent versions of OpenOffice (all of version 3, I think) attempt to avoid update races by creating a lock file in same directory as the document itself. On my Windows system, this is called .~lock<filename># and is a hidden file. Is it possible that your copy of OpenOffice fell over at some point whilst you were editing the document and the lock file was not deleted? It would make sense for any subsequent attempt to open the file in these circumstances to result in OpenOffice allowing you read access alone.
If this were the case, you would expect the two facts that you have noticed: other files in the same directory behave normally, and this file behaves normally if you copy it (but not its companion lock file) elsewhere. Deleting such a lock file may solve your problem.
I trust this helps. Brian Barker --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
