On Jul 11, 2007, at 5:40 AM, Michael Schroeder wrote:
On Tue, Jul 10, 2007 at 03:14:11PM -0400, Jeff Johnson wrote:
This ancient bug
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=83006
keeps resurfacing.
It's trivial to add to main()
mode_t mask = 002;
Uh, not 002 please, 022 is the standard. Make it configurable if you
really need to do something like that.
I appear to have not yet checked in the change to lib/rpmrc.c.
And while you're at it, don't forget to reset the environment and the
process limits (setrlimit). ;-)
The RHEL4 rpm resets the side effects of LD_ASSUME_KERNEL=x.y.z
perfectly. Be very careful what you ask for, lest you have to support
it.
Sickest patch I ever professionally applied. Ever.
73 de Jeff
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List rpm-devel@rpm5.org