mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
Remove world readable attribute from /usr/local/bundle
Artifact tests may fail due to warnings about `Insecure world writable dir /usr/local/bundle in PATH` appearing in stderr Signed-off-by: James Stocks <jstocks@chef.io>
This commit is contained in:
parent
230ca2ba03
commit
04cfc73805
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ fi
|
|||
echo "+++ Installing ${pkg_ident:?is undefined}"
|
||||
hab pkg install -b "${project_root:?is undefined}/results/${pkg_artifact:?is undefined}"
|
||||
|
||||
echo "--- Removing world readability from /usr/local/bundle"
|
||||
chmod go-w /usr/local/bundle
|
||||
|
||||
echo "+++ Testing $PLAN"
|
||||
|
||||
PATH="$(hab pkg path ci/inspec)/bin:$PATH"
|
||||
|
|
Loading…
Add table
Reference in a new issue