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

cmd-init: use sudo when creating src/config.json #3505

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dustymabe
Copy link
Member

When following the steps for building SCOS I ran
cosa init --variant scos https://github.com/openshift/os.git and got a failure. Let's run this with sudo.

@dustymabe dustymabe requested a review from travier June 12, 2023 16:25
@dustymabe
Copy link
Member Author

/retest

When following the steps for building SCOS I ran
`cosa init --variant scos https://github.com/openshift/os.git`
and got a failure. Let's run this with `sudo` if we have the
privileges to do so.
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with this, but I think a better fix would be for us to try to figure out what is writing this with root privileges and make it stop.

@travier
Copy link
Member

travier commented Aug 30, 2023

That's weird. We're doing all the repo cloning and directory setup with the same user. Wondering why we would need this here.

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