[GH-ISSUE #399] cannot switch euid to root #286

Closed
opened 2026-05-05 05:31:40 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @FacundoAcevedo on GitHub (Apr 1, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/399

Hello, I've installed firejail on Fedora 23 using the copr repo.
When I run firejail ( even without an application) I get:

Error: cannot switch euid to root
Error: the sandbox is not setuid root

Originally created by @FacundoAcevedo on GitHub (Apr 1, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/399 Hello, I've installed firejail on Fedora 23 using the copr repo. When I run firejail ( even without an application) I get: > Error: cannot switch euid to root > Error: the sandbox is not setuid root
gitea-mirror 2026-05-05 05:31:40 -06:00
Author
Owner

@FacundoAcevedo commented on GitHub (Apr 1, 2016):

It happens when I run firejail as normal user.
As root works perfect!

<!-- gh-comment-id:204219844 --> @FacundoAcevedo commented on GitHub (Apr 1, 2016): It happens when I run firejail as normal user. As root works perfect!
Author
Owner

@chiraag-nataraj commented on GitHub (Apr 1, 2016):

Is the firejail binary suid?

<!-- gh-comment-id:204224031 --> @chiraag-nataraj commented on GitHub (Apr 1, 2016): Is the firejail binary suid?
Author
Owner

@netblue30 commented on GitHub (Apr 1, 2016):

Yes, they install the executable without SUID. I guess they intend to use it for servers. This is how you fix it:

$ sudo chmod u+s /usr/bin/firejail

The good part is they track the master git, and they do builds every day.

<!-- gh-comment-id:204379018 --> @netblue30 commented on GitHub (Apr 1, 2016): Yes, they install the executable without SUID. I guess they intend to use it for servers. This is how you fix it: ``` $ sudo chmod u+s /usr/bin/firejail ``` The good part is they track the master git, and they do builds every day.
Author
Owner

@FacundoAcevedo commented on GitHub (Apr 1, 2016):

It works, thanks :D

<!-- gh-comment-id:204558804 --> @FacundoAcevedo commented on GitHub (Apr 1, 2016): It works, thanks :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#286
No description provided.