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

Re: [GuidelinesChange] Prepping BuildRoot For %install



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: pgpeRXqvgsuDi.pgp
Description: PGP signature


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