[GH-ISSUE #4609] Firejail on Kubuntu 21.10 not working (missing SUID bit) #2723

Closed
opened 2026-05-05 09:23:16 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @MrFrank17 on GitHub (Oct 16, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4609

Description

After upgrading from Kubuntu 21.04 to Kubuntu 21.10 firejail is not working anymore

Steps to Reproduce

What I tried so far:
sudo firecfg --clean and sudo firecfg to recreate the symlinks.
However starting a firejailed program, even as firejail --noprofile kate gets me the message:

Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

This does not work as well - so maybe something is wrong with the Kubuntu setup? However creating symlinks as root worked beforehand.
firejail --version

Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

Thanks!

Originally created by @MrFrank17 on GitHub (Oct 16, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4609 ### Description After upgrading from Kubuntu 21.04 to Kubuntu 21.10 firejail is not working anymore ### Steps to Reproduce What I tried so far: `sudo firecfg --clean` and `sudo firecfg` to recreate the symlinks. However starting a firejailed program, even as `firejail --noprofile kate` gets me the message: > Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied This does not work as well - so maybe something is wrong with the Kubuntu setup? However creating symlinks as root worked beforehand. `firejail --version` > Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied Thanks!
gitea-mirror 2026-05-05 09:23:16 -06:00
  • closed this issue
  • added the
    packaging
    label
Author
Owner

@rusty-snake commented on GitHub (Oct 16, 2021):

Can you run firejail --noprofile --debug true to see where it dies.

<!-- gh-comment-id:944910715 --> @rusty-snake commented on GitHub (Oct 16, 2021): Can you run `firejail --noprofile --debug true` to see where it dies.
Author
Owner

@MrFrank17 commented on GitHub (Oct 16, 2021):

Same effect:

firejail --noprofile --debug true kate
Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

<!-- gh-comment-id:944922421 --> @MrFrank17 commented on GitHub (Oct 16, 2021): Same effect: > firejail --noprofile --debug true kate Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied
Author
Owner

@rusty-snake commented on GitHub (Oct 16, 2021):

If I'm right, this happens at main->preproc_build_firejail_dir->create_empty_dir_as_root.
Has there anything changed in ubu with /run? I don't think so. Sounds more like #4367 maybe. What does ls -l /usr/bin/firejail show?

How did you installed firejail?

<!-- gh-comment-id:944924047 --> @rusty-snake commented on GitHub (Oct 16, 2021): If I'm right, this happens at `main->preproc_build_firejail_dir->create_empty_dir_as_root`. Has there anything changed in ubu with `/run`? I don't think so. Sounds more like #4367 maybe. What does `ls -l /usr/bin/firejail` show? How did you installed firejail?
Author
Owner

@MrFrank17 commented on GitHub (Oct 16, 2021):

That's the output:

ls -l /usr/bin/firejail -rwxr-xr-x 1 root root 458416 Feb 27 2021 /usr/bin/firejail

I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then

<!-- gh-comment-id:944924849 --> @MrFrank17 commented on GitHub (Oct 16, 2021): That's the output: `ls -l /usr/bin/firejail -rwxr-xr-x 1 root root 458416 Feb 27 2021 /usr/bin/firejail` I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then
Author
Owner

@rusty-snake commented on GitHub (Oct 16, 2021):

I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then

From the package sources or from the PPA or from the website?

-rwxr-xr-x

https://github.com/netblue30/firejail/issues/4367#issuecomment-914232886

<!-- gh-comment-id:944925674 --> @rusty-snake commented on GitHub (Oct 16, 2021): > I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then From the package sources or from the PPA or from the website? > -rwxr-xr-x https://github.com/netblue30/firejail/issues/4367#issuecomment-914232886
Author
Owner

@MrFrank17 commented on GitHub (Oct 16, 2021):

From the official Ubuntu repository.

Setting SUID worked!

Thanks

<!-- gh-comment-id:944926511 --> @MrFrank17 commented on GitHub (Oct 16, 2021): From the official Ubuntu repository. Setting SUID worked! Thanks
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#2723
No description provided.