Re: True story: "gconfig" removed root folder...

From: Max Valdez
Date: Fri Jan 16 2004 - 12:23:45 EST


I rather have my /root dir removed (nothing there), than my user home,
that would be very bad for me

Max

On Thu, 2004-01-15 at 09:20, Doug McNaught wrote:
> Roman Zippel <zippel@xxxxxxxxxxxxxx> 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Linux garaged 2.6.1-mm1 #3 SMP Sat Jan 10 13:18:40 CST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/S d- s: a-29 C++(+++) ULAHI+++ P+ L++>+++ E--- W++ N* o-- K- w++++ O- M-- V-- PS+ PE Y-- PGP++ t- 5- X+ R tv++ b+ DI+++ D- G++ e++ h+ r+ z**
------END GEEK CODE BLOCK------
gpg-key: http://garaged.homeip.net/gpg-key.txt

Attachment: signature.asc
Description: This is a digitally signed message part