[GH-ISSUE #2396] Creating a firejail group for the firejail binary no longer works #1599

Closed
opened 2026-05-05 08:15:14 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Ryujinra on GitHub (Feb 10, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2396

Creating a special firejail group no longer works according to the instructions here:

https://firejail.wordpress.com/documentation-2/basic-usage/#suid

chown root:firejail /usr/bin/firejail
chmod 4750 /usr/bin/firejail

An attempt to run any program afterwards results in an error of the following kind:

Error: cannot create /run/firejail/profile/27112

The last digits are seemingly random. Everything worked up to a recent commit (within the last week or two for sure), but I don't know which specific commit caused the regression.

Originally created by @Ryujinra on GitHub (Feb 10, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2396 Creating a special firejail group no longer works according to the instructions here: https://firejail.wordpress.com/documentation-2/basic-usage/#suid > chown root:firejail /usr/bin/firejail > chmod 4750 /usr/bin/firejail An attempt to run any program afterwards results in an error of the following kind: > Error: cannot create /run/firejail/profile/27112 The last digits are seemingly random. Everything worked up to a recent commit (within the last week or two for sure), but I don't know which specific commit caused the regression.
Author
Owner

@Ryujinra commented on GitHub (Feb 10, 2019):

Order of the chmod/chown command matters. My pacman script for automating the commands executed the chown command last, which removed the executable bit.

<!-- gh-comment-id:462094551 --> @Ryujinra commented on GitHub (Feb 10, 2019): Order of the chmod/chown command matters. My pacman script for automating the commands executed the chown command last, which removed the executable bit.
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#1599
No description provided.