This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH - ping] Don't unlink /dev/null on darwin

On Mon, Feb 14, 2005 at 09:59:36AM -0800, Zack Weinberg wrote:
> The second patch is a possible general stopgap to prevent this sort of
> scenario from causing damage in the future.  It is a very big hammer,
> and I recognize that it may break stuff, but I am nonetheless deadly
> serious about proposing it.  It is not ready for inclusion as is - it
> may well be in the wrong place (Peter, if you feel like it, I'd
> appreciate your experimenting to see whether or not it prevents the
> Darwin assembler from unlinking /dev/null if you run the problem
> command by hand as root) and it certainly needs autoconf goo.  Right
> now, though, what I want to hear about is not these minor details, but
> rather compelling reasons why we should *not* do this, because I can't
> think of any.

I think that forbidding gcc from running as root is a hideously bad
idea.  That's site policy.  And it will break everyone else's make
install that runs gcc.  And it will break lots of Debian package builds
because fakeroot will trigger it.

Daniel Jacobowitz
CodeSourcery, LLC

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]