Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 210372 | Differences between
and this patch

Collapse All | Expand All

(-)bin/misc-functions.sh (-1 / +1 lines)
Lines 468-474 Link Here
468
		vecho ">>> Performing suid scan in ${D}"
468
		vecho ">>> Performing suid scan in ${D}"
469
		for i in $(find "${D}" -type f \( -perm -4000 -o -perm -2000 \) ); do
469
		for i in $(find "${D}" -type f \( -perm -4000 -o -perm -2000 \) ); do
470
			if [ -s "${sfconf}" ]; then
470
			if [ -s "${sfconf}" ]; then
471
				suid="$(grep "^${i/${D}}$" "${sfconf}")"
471
				suid="$(grep "^/${i#${D}}$" "${sfconf}")"
472
				if [ "${suid}" = "${i/${D}}" ]; then
472
				if [ "${suid}" = "${i/${D}}" ]; then
473
					vecho "- ${i/${D}} is an approved suid file"
473
					vecho "- ${i/${D}} is an approved suid file"
474
				else
474
				else

Return to bug 210372