Issue 2256 - Writing to a read-only file deletes the file !!!
Summary: Writing to a read-only file deletes the file !!!
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 638
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-22 13:55 UTC by osavill
Modified: 2002-01-21 14:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description osavill 2001-11-22 13:55:32 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 ?!?!
Comment 1 stefan.baltzer 2001-11-26 13:51:16 UTC
Until someone proves that this occurs ONLY with Word processor files, "framework" is the right component.
Reassigned to Thorsten.
Comment 2 thorsten.martens 2002-01-09 12:39:45 UTC
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 ! 
Comment 3 thorsten.martens 2002-01-21 14:12:15 UTC
Due to missing further information and the fact, that this issue worksforme, it is closed !
Comment 4 thorsten.martens 2002-01-21 14:13:41 UTC
Due to missing any further information and the fact, that this issue worksforme, it is closed !