[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM Development as non-root
- From: Michael Jennings <mej kainx org>
- To: rpm-list redhat com
- Subject: Re: RPM Development as non-root
- Date: Tue, 3 Jul 2007 16:11:58 -0400
On Tuesday, 03 July 2007, at 09:19:32 (-0400),
Michael Dengler wrote:
> + /bin/mkdir -p /var/tmp/mezzanine-buildroot.15952/usr/bin
> /bin/mkdir: cannot create directory `/var/tmp/mezzanine-buildroot.15952':
> Permission denied
>
> ...
>
> when building as non-root.
Any system on which non-root users cannot write to /var/tmp is
inherently broken. File a bug against your sysadmin. :-)
> I added a new %_tmppath and %_topdir that points to my home dir to
> ~/.rpmmacros but alas...no joy.
Try setting $MEZZANINE_TMPDIR. If that doesn't work, use this:
perl -pi -e 's,/var/tmp,/tmp,g' mod/*.pm
Then try again. Use something else instead of /tmp if you wish.
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej kainx org>
n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"A woman broke up with me and sent me pictures of her and her new
boyfriend in bed together. Solution? I sent them to her dad."
-- Christopher Case
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]