Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: pipeline logs #1308

Merged
merged 1 commit into from
Aug 5, 2024
Merged

fix: pipeline logs #1308

merged 1 commit into from
Aug 5, 2024

Conversation

lemaitre-aneo
Copy link
Contributor

With the new version of K3s, the folder /var/log/pods is created with the permissions 0750, instead of 755 like before.
The copy was using sudo cp -rL /var/log/pods/armonik_* DEST which would make the shell do the expansion, but without the right permissions (because the shell is not ruinning as root).

The fix is just to perform a find as root to do the copy.

Copy link

sonarqubecloud bot commented Aug 5, 2024

@lemaitre-aneo lemaitre-aneo merged commit ebfaf8c into main Aug 5, 2024
12 checks passed
@lemaitre-aneo lemaitre-aneo deleted the fl/test-pipeline branch August 5, 2024 11:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants