public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug McNaught <doug@mcnaught.org>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Ozan Eren Bilgen <oebilgen@uekae.tubitak.gov.tr>,
	linux-kernel@vger.kernel.org
Subject: Re: True story: "gconfig" removed root folder...
Date: Thu, 15 Jan 2004 10:20:46 -0500	[thread overview]
Message-ID: <87ptdl2q7l.fsf@asmodeus.mcnaught.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0401151558590.27223@serv> (Roman Zippel's message of "Thu, 15 Jan 2004 16:05:59 +0100 (CET)")

Roman Zippel <zippel@linux-m68k.org> writes:

> On Thu, 15 Jan 2004, Ozan Eren Bilgen wrote:
>
>> Today I downloaded 2.6.1 kernel and tried to configure it with "make
>> gconfig". After all changes I selected "Save As" and clicked "/root"
>> folder to save in. Then I clicked "OK", without giving a file name. I
>> expected that it opens root folder and lists contents. But this magic
>> configurator removed (rm -Rf) my root folder and created a file named
>> "root". It was a terrible experience!..
>
> I only did a quick check with menuconfig. Are you sure it's really
> removed? It should still be there as "/root.old".
> I probably should change the behaviour of the save routine to behave
> differently for directories as argument, but it doesn't remove it.
> (Changing gconfig to only accept files in the save request would probably
> be nice too...)

The real lesson here is "don't compile your kernel as root".  There's
no need to do so.

-Doug

  reply	other threads:[~2004-01-15 15:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15 14:36 True story: "gconfig" removed root folder Ozan Eren Bilgen
2004-01-15 15:05 ` Roman Zippel
2004-01-15 15:20   ` Doug McNaught [this message]
2004-01-15 15:37     ` Erik Hensema
2004-01-15 16:07       ` Tim Cambrant
2004-01-15 16:17         ` Valdis.Kletnieks
2004-01-15 18:31           ` Tim Cambrant
2004-01-15 18:49             ` Valdis.Kletnieks
2004-01-15 19:00             ` Richard B. Johnson
2004-01-15 19:30               ` Valdis.Kletnieks
2004-01-15 19:48               ` Erik Hensema
2004-01-17 16:47       ` Alban Browaeys
2004-01-16 17:20     ` Max Valdez
2004-01-15 21:23   ` Romain Lievin
2004-01-15 21:46     ` Roman Zippel
2004-01-15 22:00       ` Andreas Tolfsen
2004-01-15 22:56         ` Roman Zippel
2004-01-16  6:39           ` Andreas Tolfsen
2004-01-16  7:43       ` Romain Lievin
2004-01-16 21:18         ` Doug McNaught
2004-01-16 21:44         ` Roman Zippel
2004-01-18 12:59           ` Romain Lievin
2004-01-15 15:40 ` viro
2004-01-15 16:01   ` Jan-Benedict Glaw
2004-01-15 21:05 ` Romain Lievin
2004-01-15 21:44 ` [PATCH] " Romain Lievin
2004-01-16 20:17   ` [PATCH] Bug in patch of Romain: " oebilgen
2004-01-16 20:32     ` [PATCH] Bug in patch of Romain: "gconfig" remo ved r=?iso-8859-9?Q?Romain: "gconfig" removed=A0root=A0folder..._?= (part 2) oebilgen
2004-01-16 21:56   ` [PATCH] "gconfig" removed root folder Roman Zippel
     [not found]   ` <20040116161440.GC30349@louise.pinerecords.com>
2004-01-17 21:47     ` Romain Lievin
2004-01-18  7:24       ` Tomas Szepe
2004-01-18 14:21 ` True story: " Romain Lievin
2004-01-18 14:32   ` Muli Ben-Yehuda
2004-01-21 19:54 ` [PATCH] " Romain Lievin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ptdl2q7l.fsf@asmodeus.mcnaught.org \
    --to=doug@mcnaught.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oebilgen@uekae.tubitak.gov.tr \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox