[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Proposal: rpm-4.2.2 should refuse to build as root
- From: "Michael K. Johnson" <johnsonm redhat com>
- To: fedora-devel-list redhat com
- Subject: Re: Proposal: rpm-4.2.2 should refuse to build as root
- Date: Tue, 6 Jan 2004 11:43:35 -0500
On Wed, Dec 31, 2003 at 02:42:00AM -1000, Warren Togami wrote:
> [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
> This would also completely solve this silly urban legend surrounding
> this ugly construct found within many spec files. If users cannot build
> as root, then BuildRoot being equal to "/" (which is incredibly unlikely
> to begin with) cannot destroy their system.
Uh, it can still remove *their* files, which would still be pretty
destructive. I'd say that piece should stay regardless.
michaelkjohnson
"He that composes himself is wiser than he that composes a book."
Linux Application Development -- Ben Franklin
http://people.redhat.com/johnsonm/lad/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]