Force a sane umask in quickpkg for bug #143340.
authorZac Medico <zmedico@gentoo.org>
Wed, 9 Aug 2006 19:55:07 +0000 (19:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 9 Aug 2006 19:55:07 +0000 (19:55 -0000)
svn path=/main/trunk/; revision=4210

bin/quickpkg

index 1231da9ffa6df465201c46b061e83f59ca0f2865..1a44cbf84267adb2ea3e46f315708e6aa1bfa2fc 100755 (executable)
@@ -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%/}/