-
Notifications
You must be signed in to change notification settings - Fork 773
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
fix non sudo enable community addon #4714
fix non sudo enable community addon #4714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too happy about this workaround, this feels like just masking the underlying issue. The safe directory wildcard also feels too wide, could we deem certain directories as safe instead of any?
How about narowing it to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, almost there!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can you revert the trivy changes? Let's do the trivy fix as a separate PR/card as it still seems to fail here.
This reverts commit 5bbbc2b.
Summary
This PR fixes issues when non-root user in non-strict environment tries to enable community addons.
Closes #4574
Changes
added temporary setting to git to ingnore
Testing
enabled and disabled community addon
Possible Regressions
n/a
Checklist
Notes