Re: [GuidelinesChange] Prepping BuildRoot For %install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 11, 2007 at 03:58:33PM +0200, Till Maas wrote:
> On Di April 10 2007, Michael Schroeder wrote:
> 
> > %__spec_build_pre %{___build_pre}\
> > %{?buildroot:  %__rm -rf "$RPM_BUILD_ROOT"\
> >   %__mkdir_p `dirname "$RPM_BUILD_ROOT"`\
> >   %__mkdir "$RPM_BUILD_ROOT"\
> > }
> >
> > (This actually fixes a tiny security issue, that's why there are
> > two mkdir calls...)
> 
> When you really need the first of the two mkdir invocations, the security 
> issue is not fixed:
> https://www.redhat.com/archives/fedora-packaging/2007-March/msg00061.html

Yes, I know, but it's in most cases a moot issue because the
buildroot is in /var/tmp.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux