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

action: fix ssh console log file permissions #91

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

mhofstetter
Copy link
Member

Currently, the action fails when trying to write to the console log file.

qemu-system-x86_64: -serial file:/tmp/console.log: Could not open '/tmp/console.log': Permission denied

e.g. https://github.com/cilium/cilium/actions/runs/5573110938/jobs/10180030621?pr=26819

This PR fixes this by setting the user root as owner of the file.

FYI @learnitall

Fixes: #89

Currently, the action fails when trying to write to the console log
file.

`qemu-system-x86_64: -serial file:/tmp/console.log: Could not open
'/tmp/console.log': Permission denied`

This commit fixes this by setting the user root as owner of the file.

Fixes: cilium#89

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter requested a review from brb July 17, 2023 10:21
@brb brb merged commit 0f18a9b into cilium:main Jul 17, 2023
1 check passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/console-log-permissions branch July 17, 2023 10:30
@learnitall
Copy link
Contributor

Nice catch, thank you! @mhofstetter

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

Successfully merging this pull request may close these issues.

3 participants