Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New warning in build logs: Insecure world writable dir /usr/local/clang-5.0.0/bin #943

Open
bogdanap opened this issue Nov 10, 2017 · 3 comments

Comments

@bogdanap
Copy link
Contributor

I've noticed that there's a new warning that appears in recent build-logs (probably after #890 was merged):

/home/travis/filter.rb:43: warning: Insecure world writable dir /usr/local/clang-5.0.0/bin in PATH, mode 040777

Example build: https://travis-ci.org/travis-infrastructure/packer-build/jobs/299997045#L6

@bogdanap
Copy link
Contributor Author

Also reported here: travis-ci/travis-ci#8645

@bogdanap bogdanap changed the title New warning in build logs New warning in build logs: Insecure world writable dir /usr/local/clang-5.0.0/bin Dec 13, 2017
@BanzaiMan
Copy link
Contributor

As I commented in travis-ci/travis-ci#8892 (comment), the issue here is that the clang 5.0.0 archive is faulty. While travis-ci/travis-build#1272 provides a run-time fix, it would be a good idea to ensure that components added to $PATH in the cookbooks are not world-writable.

@scribam
Copy link
Contributor

scribam commented Feb 24, 2018

Would you mind checking if this issue is solved with the PR #970?
The permissions in the clang 5.0.1 archive file seems to be more restrictive compared to the version 5.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@BanzaiMan @bogdanap @scribam and others