Re: FESCo Meeting Summary for 2007-02-08

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

 



On Thu, 15 Feb 2007 13:44:21 +0330, Roozbeh Pournader wrote:

> On Thu, 2007-02-15 at 05:30 +0100, Ralf Corsepius wrote:
> > For the record: 
> > 
> > 
> > My issue is: IMO, the default settings rpmbuild uses, must be safe
> > against arbitrary users running rpmbuild in a multi user environment.
> > [...]
> 
> Just to also mention that (for the record) that the scenario you mention
> here has happened in real life for me and a colleague. Without knowing,
> we were building the same SRPM on a test-build machine separately, and
> things got really weird. My colleague spent quite a while trying to fix
> the problem from her side, because she didn't know the possible problem
> with the build root. It was a core package.

Funny. Because by default you can only build as superuser, since it
needs write-access to /usr/src/redhat/. As soon as you set up a
local ~/.rpmmacros, you can define %_buildroot and point it to
a private location. Problem solved. For example:

%_topdir    %(echo $HOME)/tmp/rpm
%_tmppath   %{_topdir}/tmp
%_buildroot %{_tmppath}/%{name}-%{version}-root

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux