gocsaf / csaf

Tools to download or provide CSAF (Common Security Advisory Framework) documents.
https://csaf.io
40 stars 23 forks source link

Fix(Setup Scripts): add sudo to commands that would fail due to missing permissions when running as nonroot user #557

Closed JanHoefelmeyer closed 1 month ago

JanHoefelmeyer commented 3 months ago

https://github.com/csaf-poc/csaf_distribution/pull/552 is not working properly. The scripts no longer fail, but a lot of the test setup isn't set up properly due to missing permissions. This should fix it.

JanHoefelmeyer commented 1 month ago

While I was pretty sure that I had problems with permissions before, you are right that I can't reproduce them even on main right now. Thus this may not be necessary.