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

Detect erbb run as root and abort #626

Open
ohmtech-rdi opened this issue Sep 20, 2023 · 0 comments
Open

Detect erbb run as root and abort #626

ohmtech-rdi opened this issue Sep 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ohmtech-rdi
Copy link
Owner

It can be frustrating for a user to have an error when running erbb, and it is not uncommon for users to use the sudo method in hope it would "force" the operation.

This is something from which the package manager brew has been suffering from for a long time, so it might be quite common.

Detect which user is used when running erbb and abort the operation if it finds that it is run with the root user.

@ohmtech-rdi ohmtech-rdi added the enhancement New feature or request label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant