[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2140: marked as done (kedit renames directory to directory~ when saving file of same name)
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2000-04-30 5:18:02
[Download RAW message or body]

Your message dated Sat, 29 Apr 2000 22:16:36 -0700
with message-id <00042922163600.06864@wantelbos>
and subject line Fixed.
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 12 Oct 1999 04:34:12 +0000
From phma@oltronics.net Tue Oct 12 06:34:12 1999
Received: from mail.oltronics.net ([204.213.85.8]:51212 "EHLO
        mail.oltronics.net") by max.tat.physik.uni-tuebingen.de with ESMTP
	id <S742186AbPJLEd7>; Tue, 12 Oct 1999 06:33:59 +0200
Received: from neofelis (i015-1.clt-nc.oltronics.net [207.15.133.15])
	by mail.oltronics.net (8.9.3/8.9.3) with SMTP id AAA15022
	for <submit@bugs.kde.org>; Tue, 12 Oct 1999 00:33:39 -0400
From:   Pierre Abbat <phma@oltronics.net>
To:     submit@bugs.kde.org
Subject: kedit renames directory to directory~ when saving file of same name
Date:   Tue, 12 Oct 1999 00:18:26 -0400
X-Mailer: KMail [version 1.1.0]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <99101200332902.31115@neofelis>
Content-Transfer-Encoding: 8bit
X-KMail-Mark: 
Return-Path: <phma@oltronics.net>
X-Orcpt: rfc822;submit@bugs.kde.org

Package: kedit
Version: 1.2

This also applies to whatever version comes with Red Hat 6.0. I'm using
Mandrake 5.3.

I set up Linux on a friend's computer, who is totally new to Linux. He found a
header file needed to compile some program and decided to copy it to the
desktop. So he clicked on it, brought up kedit, and saved it to ~/Desktop .
Next time he logged in, his icons were gone. I figured out what happened and
talked him through renaming Desktop~ to Desktop (from a virtual console, while
he was logged out of KDE, bien sūr). He had his icons back and was happy.

I verified with kedit 1.2 that it does the same thing. I saved a text file as
db , which is the name of a directory. It renamed db to db~ and saved the file
as db with the permissions of the directory. This resulted in db being an
executable text file (the original was not executable) and db~ being a directory
with the wrong name. I didn't try to find out what would happen if db~ were a
directory, db a text file, and I tried to save it.

This should never happen. If kedit (or any other program that edits and saves
files) notices that it is about to rename or delete a directory, or any other
irregular file, when saving a file, it should flatly refuse to save it.

phma

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic