Bug 254819 - strange statement "file exists or is write-protected"
Summary: strange statement "file exists or is write-protected"
Status: CONFIRMED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 00:37 UTC by Alexander Potashev
Modified: 2018-11-05 17:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2010-10-21 00:37:08 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

Here:

#: komparepart/kompare_part.cpp:556
msgid "The file exists or is write-protected; do you want to overwrite it?"

---------------

The question is: how a file can be write-protected and non-existing at the same time?


The string says something like this:
1. if the file exists, then it's dangerous to overwrite it, and
2. if the file is write-protected, then it's dangerous to overwrite it.

Having the first statement, the second one is unnecessary (it's a partial case of the condition if the first statement).

Reproducible: Didn't try
Comment 1 Andrew Crouthamel 2018-11-05 03:08:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Alexander Potashev 2018-11-05 16:53:33 UTC
This phrase is still present in the code in Git master.
Comment 3 Andrew Crouthamel 2018-11-05 17:02:26 UTC
Thanks for the update!