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

Warn users not to run as root #106

Closed
LeafHacker opened this issue Aug 14, 2020 · 0 comments
Closed

Warn users not to run as root #106

LeafHacker opened this issue Aug 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@LeafHacker
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Some users have been running the Installer as root (e.g. using sudo). This is not only a potential security issue for them, but it also breaks the .minecraft directory locating process, as it looks in root's home directory not the user's.

Describe the solution you'd like
Show a warning message when running as root on UNIX based operating systems.

Describe alternatives you've considered
Block running as root entirely (this is probably overkill, there may be a genuinely useful reason to run as root).

We could also show a .minecraft selector in the GUI if running as root?

Additional context

@LeafHacker LeafHacker added the enhancement New feature or request label Aug 14, 2020
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