projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e0e2d
)
add back chown command from trunk, I hope it won't break
author
Fabian Groffen
<grobian@gentoo.org>
Wed, 9 Dec 2009 19:59:44 +0000
(19:59 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Wed, 9 Dec 2009 19:59:44 +0000
(19:59 -0000)
svn path=/main/branches/prefix/; revision=14988
bin/etc-update
patch
|
blob
|
history
diff --git
a/bin/etc-update
b/bin/etc-update
index 0e31a3e8ebce7a5976ae6b87cdfa2cca98a60baf..968b2be9d98c220df13b24bdbd7f58b175fe845b 100755
(executable)
--- 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)