Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141619
Collapse All | Expand All

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

Return to bug 141619