From: Zac Medico Date: Wed, 9 Aug 2006 19:55:07 +0000 (-0000) Subject: Force a sane umask in quickpkg for bug #143340. X-Git-Tag: v2.1.1~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e40125de6b5784c744ccfc3b501a8e662f574116;p=portage.git Force a sane umask in quickpkg for bug #143340. svn path=/main/trunk/; revision=4210 --- diff --git a/bin/quickpkg b/bin/quickpkg index 1231da9ff..1a44cbf84 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -14,6 +14,9 @@ if [ "${UID}" != "0" ] ; then exit 1 fi +# We need to ensure a sane umask for the packages that will be created. +umask 022 + export PORTAGE_DB=$(portageq vdb_path) export ROOT=$(portageq envvar ROOT) export ROOT=${ROOT%/}/