Re: [GuidelinesChange] Prepping BuildRoot For %install

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

 



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

Regards,
Till

Attachment: pgpkJIAbIE8G2.pgp
Description: PGP signature

-- 
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