# HG changeset patch # User Burcin Erocal # Date 1318959017 -7200 # Node ID 24f55facb7cd35b722619a9809d546eba37434a0 # Parent 4b900dc36bb30c4947491c4a516f9f48cbe2b889 Add a config variable QA_SKIP_WRITABLE to disable permission checks on installed files. Prefix may be hosted in a file system that alters the permisions of new files. At the moment we pause with an error message for each file with the wrong permissions. This makes the prefix unusuable. This patch makes the permission check configurable by setting the QA_SKIP_WRITABLE variable in make.conf. diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -168,6 +168,7 @@ fi # Now we look for all world writable files. + if [ "${QA_SKIP_WRITABLE-unset}" == unset ] ; then local i for i in $(find "${D}/" -type f -perm -2); do vecho "QA Security Notice:" @@ -176,6 +177,7 @@ vecho "- Please double check that $PF really needs a world writeable bit and file bugs accordingly." sleep 1 done + fi # anything outside the prefix should be caught by the Prefix QA # check, so if there's nothing in ED, we skip searching for QA