From 02cc64c34488d1aca2c94082b28c3915ee7e713c Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 9 Dec 2009 19:59:44 +0000 Subject: [PATCH] add back chown command from trunk, I hope it won't break svn path=/main/branches/prefix/; revision=14988 --- bin/etc-update | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/etc-update b/bin/etc-update index 0e31a3e8e..968b2be9d 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -514,6 +514,7 @@ rm -rf "${TMP}" 2> /dev/null mkdir "${TMP}" || die "failed to create temp dir" 1 # make sure we have a secure directory to work in chmod 0700 "${TMP}" || die "failed to set perms on temp dir" 1 +chown ${UID:-0}:${GID:-0} "${TMP}" || die "failed to set ownership on temp dir" 1 # I need the CONFIG_PROTECT value #CONFIG_PROTECT=$(@PORTAGE_BASE@/bin/portageq envvar CONFIG_PROTECT) -- 2.26.2