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 |