[Bug 254819] New: strange statement "file exists or is write-protected"

Alexander Potashev aspotashev at gmail.com
Thu Oct 21 00:37:57 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=254819

           Summary: strange statement "file exists or is write-protected"
           Product: kompare
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel at kde.org
        ReportedBy: aspotashev at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kompare-devel mailing list