Use apply_secpass_permissions for DISTDIR permissions.
authorZac Medico <zmedico@gentoo.org>
Tue, 14 Mar 2006 00:08:20 +0000 (00:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 14 Mar 2006 00:08:20 +0000 (00:08 -0000)
svn path=/main/trunk/; revision=2870

pym/portage.py

index 057876d3513e8fc2666857d7f011abc920a090b4..a15ec1c0ba60b3c762ee63964efb975b70764491 100644 (file)
@@ -1837,7 +1837,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
        else:
                def distdir_perms(filename):
                        try:
-                               portage_util.apply_permissions(filename, gid=portage_gid, mode=0775)
+                               portage_util.apply_secpass_permissions(filename, gid=portage_gid, mode=0775)
                        except OSError, oe:
                                if oe.errno == errno.EPERM:
                                        writemsg("!!! Unable to apply group permissions to '%s'.  Non-root users may experience issues.\n"