On Saturday 27 January 2007 18:14, Jürgen Geuter wrote: > On Sat, 2007-01-27 at 18:40 +0200, Vlad Dogaru wrote: > > > One question though: is there a reason why PORTAGE_TMPDIR does not > > default to /tmp? > > >Many people have an extra partition > for /tmp that is mounted noexec to give people less opportunity to mess > around with the system (for example build weird binaries for local root > exploits). > > Apart from that it's often useful to have all ebuild-related stuff in > one place
I would add that since /tmp is often cleaned on boot-up, /var/tmp is considered a "less temporary" place than /tmp. For example, if you hose your /opt/foo directory, then assuming you have an appropriate version of /foo in /var/tmp/portage, when you re-emerge "foo" it will skip steps that don't need to be done again (because they have already been completed and left results in /var/tmp/portage). Jeff Rollin -- gentoo-user@gentoo.org mailing list