-
Notifications
You must be signed in to change notification settings - Fork 2
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
Lack of compatibilitiy with doas / weird authority verification #4
Comments
I am reopening this issue because at least on my system (Arch Linux), trying to run the app with Edit: Further investigation shows that the exception occurs during the initialization of Free Vision framework, so this is beyond me at the moment. Maybe I should file a bug report to the Free Pascal team so they can take a look at it. |
New bug report to the FPC team: https://gitlab.com/freepascal.org/fpc/source/-/issues/41080 |
Alright thank you! I also use arch, i've noticed other issues but since im not able to completely root out the cause and you seem to be developing the project alone i will atempt to investigate the code and post about the root cause of the issue |
Also i forgot to mention @Kagamma but i managed to make it work on my system in a weird contorted way
The way i made it "work" was by doing doas su, (which results in me going to bash i believe?) as root and then i do SUDO_UID=0 tparted and it just werks |
Apparently the program is using SUDO_UID to check if the user has superuser capabilities("This program requires admin rights to work properly."), I'm unsure how doas does it, but some behaviors differ from sudo.
Doing SUDO_UID=0 tparted bypasses the protections, later giving an exception to lack of permissions
The text was updated successfully, but these errors were encountered: