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
Insecure world writable dir ... in PATH, mode 040777 #338
Comments
Thanks for raising. It's actually a problem with GitHub runners 777 default permissiona. I'll link to an issue on pact JS repo when back at my desk for remedy |
@mefellows Ah I see! However I am getting this on my local dev laptop also so you know^^. |
See also pact-foundation/pact-js#758. It does look like an issue with the latest standalone and the assumption made by pact-js-core. But also |
The insecure world writeable dir warning is not the cause of the failure to publish (even though it looks like it is). To fix the warning you'll need to correct the permissions locally - it's warning about a real potential problem, and we don't control the warning. However, this won't correct the failure when it was successful. For now:
|
The latest version of pact-node (v10.13.10) should not have this problem (and if it does fail, it'll give you better output). |
@TimothyJones You are indeed correct regarding that it still works, it just happens to throw an error. We want to run this in or CI so for now we have put a try catch around the area however this ain't good if it throws another type of error. Ok I'll have a look at the new version^^ |
Software versions
Mac OSX 10.15.7
"@pact-foundation/pact": "^9.16.4",
"@pact-foundation/pact-node": "^10.13.9",
Node v12.22.0
Expected behaviour
No errors.
Actual behaviour
Errors.
Steps to reproduce
The error appears in the following code block, we use jest as the base test framework.
Relevant log files
This line specifically from the error above:
[2021-10-15 09:25:07.004 +0000] ERROR (53878 on Karls-MacBook-Pro.local): pact-node@10.13.9: Pact Binary Error: /Users/karl/Development/app/components/console-frontend/webapp/node_modules/@pact-foundation/pact-node/standalone/darwin-1.88.77/pact/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Users/karl/Development/app/components/console-frontend/webapp in PATH, mode 040777
We don't know where it's from or why it appears?
Also some more logs related to publishing:
The text was updated successfully, but these errors were encountered: