Re: Removing %clean

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

 



Till Maas <opensource@xxxxxxxxx> writes:

>> Tom "spot" Callaway wrote:
>> >     mkdir -p `dirname "$RPM_BUILD_ROOT"`\
>> >     mkdir "$RPM_BUILD_ROOT"\

> It prevents a race condition in case that $(dirname "$RPM_BUILD_ROOT") already 
> exists or if all directories in the path to this directory are only writable 
> by trustworthy users. In the default configuration, this was the /var/tmp 
> directory, where every user could create a directory, make it writable for 
> others and sneak content into the final rpm.

The two mkdirs are in reverse order though. Is that intentional?


/Benny

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