Moving open files

Mumia W. paduille.4062.mumia.w+nospam at earthlink.net
Mon Jul 7 18:45:06 UTC 2008


Dotan Cohen wrote:
> 2008/7/7 Derek Broughton <news at pointerstop.ca>:
>> [...] No, sorry, I don't agree with that.  You may not like the behaviour, but it
>> is logical.  Would you still think it's a bug if the user had just _copied_
>> the original, and then there were two different versions?  I can't do
>> exactly the same thing with Word, because it _does_ lock the file, but
>> that's a design choice.
> 
> In my opinion, and the opinion of he who 'lost' his data, there should
> be a lock file.
> [...]

Even if there were a lock file, the result of moving the files using 
'mv' would be the same--data loss. 'Mv' is a very simple application 
that doesn't know about file locks, and it might move *both* the 
original and lock files to a new location--effectively destroying the lock.

The only safe way to move files when OOo is open is to do that within 
OOo. Years ago I used StarOffice which had a built-in file manager, but 
OOo seems to have removed that feature, or perhaps, I just don't know 
how to find it.





More information about the ubuntu-users mailing list