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

DONT RUN AS ROOT #6

Closed
phil294 opened this issue Sep 5, 2022 · 1 comment
Closed

DONT RUN AS ROOT #6

phil294 opened this issue Sep 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@phil294
Copy link
Owner

phil294 commented Sep 5, 2022

I just removed the Gui part from installer.ahk and then ran it with sudo rights and now my display server keeps crashing and coredumping and the entire system is broken. Maybe because of some of the xdg/mime commands, maybe because of the tool itself, I don't know.

No idea wtf is going on, and imma go off eating pizza now, so I guess this is a warning not to use root privileges until this is resolved.

@phil294 phil294 added the bug Something isn't working label Sep 5, 2022
@phil294
Copy link
Owner Author

phil294 commented Sep 17, 2022

the reason was update-mime-database, which when run as root apparently reduces read permission for other users of /usr/share/mime, which then makes all gtk apps crash horribly. This code is not pushed, so everything was and is safe.

(here's the experimental branch)

@phil294 phil294 closed this as completed Sep 17, 2022
phil294 added a commit that referenced this issue Mar 9, 2023
this can crash unrelated gtk applications such as xfce4-session and thus brick the whole system. See also #6

I thought I had prevented this from happening already but apparently all it took was a `sudo ahk_x11` and click INSTALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant