aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-04 20:45:18 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-04 20:45:18 +0000
commitb597762b2e21d9dba81eabe5ae1da483ccdac253 (patch)
tree4293b67d1c649dde836bd453a21e5c2c295b30e3
parent1a779ab91fb123e8cafe52c8182c4baad7228bd6 (diff)
downloadpaludis-b597762b2e21d9dba81eabe5ae1da483ccdac253.tar.gz
paludis-b597762b2e21d9dba81eabe5ae1da483ccdac253.tar.xz
r3220@snowflake: ciaranm | 2007-06-04 21:43:55 +0100
Permit more sandbox writes by default
-rwxr-xr-xpaludis/repositories/gentoo/ebuild/ebuild.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/repositories/gentoo/ebuild/ebuild.bash b/paludis/repositories/gentoo/ebuild/ebuild.bash
index 37f7045..c8a7fef 100755
--- a/paludis/repositories/gentoo/ebuild/ebuild.bash
+++ b/paludis/repositories/gentoo/ebuild/ebuild.bash
@@ -32,6 +32,8 @@ if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] ; then
export SANDBOX_WRITE="${SANDBOX_WRITE}/dev/shm:/dev/stdout:/dev/stderr:/dev/null:/dev/tty:/dev/pts"
export SANDBOX_WRITE="${SANDBOX_WRITE}:${PALUDIS_TMPDIR}:/var/cache"
export SANDBOX_WRITE="${SANDBOX_WRITE}:/proc/self/attr:/proc/self/task:/selinux/context"
+ export SANDBOX_WRITE="${SANDBOX_WRITE}:/tmp"
+ [[ -n "${CCACHE_DIR}" ]] && export SANDBOX_WRITE="${SANDBOX_WRITE}:${CCACHE_DIR}"
export SANDBOX_ON="1"
export SANDBOX_BASHRC="/dev/null"
unset BASH_ENV