Re: RPM Development as non-root

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux