Red Hat Bugzilla – Bug 134932
File locking doesn't work
Last modified: 2007-11-30 17:10:51 EST
Description of problem:
Files (even local files) can be simultaneously edited by multiple
users in different ways. The last version saved is the one that
exists, all others are lost.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open Openoffice Writer as user A
2. Create and save new world-writable file as user A
3. Keep file open as user A
4. Open file in Openoffice Writer as user B
5. Notice, no 'file already in use' warning
6. Edit and save file as user B
7. Edit and save file as user A
8. Notice, no 'file altered on disk' warning
Silent data loss.
Warning on opening file currently in use and readonly status set.
This may be relevant:
Problem also occurs on updated Fedora Core 1.
This problem occurs in wine as well, so may not be OOo specific.
Ok, this will be an upstreamed bug then...
Nevermind, I've done a poor job of testing...
Although FC1 is still broken (1.1.0-16), locking works fine in both
1.1.2-3 (FC3T2) and 1.1.1-6 (FC3T1) as long as the proper lines are
uncommented in the soffice script, as per the bug report above. So
perhaps the version should be changed to FC1.
I'd like to see locking made default, though, so would you consider
adding a patch to soffice if I submitted one?