Apache OpenOffice (AOO) Bugzilla – Issue 2256
Writing to a read-only file deletes the file !!!
Last modified: 2002-01-21 14:13:41 UTC
I was recently trying to edit a file accross a Samba share from Linux to a Window$ shared drive. Unknown to me I didn't have write access to the drive. 1) Open Office didn't tell me I was writing a read-only document 2) When I attempted to save the document the progress bar got all the way accross before telling me the write had failed. Result: Two dialogs informing in two different ways that the write had failed, followed by the quite common Open Office crash ;-) The file was now 0 (zero) bytes long. How is this possible ? Must be something to do with the Samba share and permissions. Maybe I have create rights but not write access ?!?!
Until someone proves that this occurs ONLY with Word processor files, "framework" is the right component. Reassigned to Thorsten.
I`ve tried to reproduce this problem (using a 641) but wasn`t able to reproduce it. If a document is opened with missing rights, it is opened read-only. If the edit-button is pushed afterward, a message box appears, saying that due to insufficient user rights the document can only be used as a template for a new doc !
Due to missing further information and the fact, that this issue worksforme, it is closed !
Due to missing any further information and the fact, that this issue worksforme, it is closed !