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

error: The permission of the setuid helper is not correct #4934

Closed
neoedmund opened this issue Jun 4, 2022 · 6 comments
Closed

error: The permission of the setuid helper is not correct #4934

neoedmund opened this issue Jun 4, 2022 · 6 comments

Comments

@neoedmund
Copy link

I make a fresh install from building source from github, then
flatpak --installations
returns /usr/local/var/lib/flatpak
(this dir not exists)
then try with flatpak -v repair

F: Calling system helper: EnsureRepo
error: The permission of the setuid helper is not correct

so , what is this error exactly means , what program is missing setuid?

@neoedmund
Copy link
Author

After I do repair and install all by root user.
flatpak run com.valvesoftware.Steam

Failed to start proxy for unix:path=/var/run/dbus/system_bus_socket: Error binding to address (GUnixSocketAddress): Address already in use
error: Failed to sync with dbus proxy

@mwleeds
Copy link
Collaborator

mwleeds commented Jun 16, 2022

Sounds like an issue with the D-Bus tools in your base Operating System.

I make a fresh install from building source from github, then flatpak --installations returns /usr/local/var/lib/flatpak (this dir not exists) then try with flatpak -v repair

  1. If you use the configure option --localstatedir=/var when compiling, Flatpak should use the normal path /var/lib/flatpak for the system installation.
  2. Generally creating the /var/lib/flatpak directory is done by the package manager (rpm/deb) at package install time, but Flatpak can also do it, that's what the EnsureRepo call below is about.
F: Calling system helper: EnsureRepo
error: The permission of the setuid helper is not correct

so , what is this error exactly means , what program is missing setuid?

This may be helpful: https://lists.debian.org/debian-user/2015/08/msg01066.html

@mwleeds
Copy link
Collaborator

mwleeds commented Jun 16, 2022

In the future if you're looking for help with a custom compiled Flatpak, it's best to provide all the commands you used to compile it, and your base OS version. It's also probably best to use the mailing list or chat room (linked in the README) rather than the bug tracker.

@mwleeds
Copy link
Collaborator

mwleeds commented Jun 16, 2022

Unfortunately we don't have the resources to do support here.

@neoedmund
Copy link
Author

This may be helpful: https://lists.debian.org/debian-user/2015/08/msg01066.html

Thank you . the command chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper mentioned in to post fix the problem instantly. It's really something should be put into FAQ.

@Rwarcards762
Copy link

Rwarcards762 commented Nov 3, 2022

@neoedmund I appreciate you posting this -- in a completely unrelated scenario, I was running into the same issue about "The permission of the setuid helper is not correct" but for Setroubleshootd.

It was the same solution -- the SETUID bit had gotten removed from the dbus-daemon-launch-helper, in my case at /usr/libexec/dbus-1/dbus-daemon-launch-helper.

There was essentially nothing online about this but your comment helped tremendously!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants