View | Details | Raw Unified
Collapse All | Expand All

(-) pym/portage.py (+3 lines)
 Lines 9307-9312    Link Here 
						writemsg_stdout("--- %s/\n" % mydest)
						writemsg_stdout("--- %s/\n" % mydest)
						if bsd_chflags:
						if bsd_chflags:
							bsd_chflags.lchflags(mydest, dflags)
							bsd_chflags.lchflags(mydest, dflags)
						if "merge-dir-perms" in self.settings.features:
							os.chmod(mydest, stat.S_IMODE(mystat.st_mode))
							os.chown(mydest, mystat.st_uid, mystat.st_gid)
					else:
					else:
						# a non-directory and non-symlink-to-directory.  Won't work for us.  Move out of the way.
						# a non-directory and non-symlink-to-directory.  Won't work for us.  Move out of the way.
						if movefile(mydest,mydest+".backup", mysettings=self.settings) is None:
						if movefile(mydest,mydest+".backup", mysettings=self.settings) is None:
(-) cnf/make.globals (-1 / +1 lines)
 Lines 33-39    Link Here 
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \${DISTDIR}/\${FILE} \${URI}"
# Default user options
# Default user options
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
FEATURES="distlocks merge-dir-perms metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
# Default chunksize for binhost comms
# Default chunksize for binhost comms
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BINHOST_CHUNKSIZE="3000"
(-) bin/misc-functions.sh (-5 / +6 lines)
 Lines 46-57    Link Here 
	prepall
	prepall
	# Now we look for all world writable files.
	# Now we look for all world writable files.
	for i in $(find "${D}/" -type f -perm -2); do
	find "${D}" '(' -type f -o -type d ')' -perm -2 -print0 | \
		while read -d $'\0' i ; do
		vecho -ne '\a'
		vecho -ne '\a'
		vecho "QA Security Notice:"
		eqawarn "QA Security Notice:"
		vecho "- ${i:${#D}:${#i}} will be a world writable file."
		eqawarn "- ${i:${#D}:${#i}} will be a world writable file."
		vecho "- This may or may not be a security problem, most of the time it is one."
		eqawarn "- This may or may not be a security problem, most of the time it is one."
		vecho "- Please double check that $PF really needs a world writeable bit and file bugs accordingly."
		eqawarn "- Please double check that $PF really needs a world writeable bit and file bugs accordingly."
		sleep 1
		sleep 1
	done
	done