[GH-ISSUE #786] configuration file should be owned by root #533

Closed
opened 2026-05-05 06:04:05 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @y1ds on GitHub (Sep 16, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/786

When I try to start firejail it gives me the error "Error: configuration file should be owned by root"

strace:
root@machine:~# /usr/local/bin/firejail
Error: configuration file should be owned by root
......
getuid() = 0
open("/usr/local/etc/firejail/firejail.config", O_RDONLY) = 3
stat("/usr/local/etc/firejail/firejail.config", {st_mode=S_IFREG|0644, st_size=2885, ...}) = 0
write(2, "Error: configuration file should"..., 50) = 50
exit_group(1) = ?
+++ exited with 1 +++

config file:
-rw-r--r-- 1 root staff 2.9K Sep 15 10:25 /usr/local/etc/firejail/firejail.config

Im running debian jessie and firejail git head (commit 4e947d97bb)

Originally created by @y1ds on GitHub (Sep 16, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/786 When I try to start firejail it gives me the error "Error: configuration file should be owned by root" strace: root@machine:~# /usr/local/bin/firejail Error: configuration file should be owned by root ...... getuid() = 0 open("/usr/local/etc/firejail/firejail.config", O_RDONLY) = 3 stat("/usr/local/etc/firejail/firejail.config", {st_mode=S_IFREG|0644, st_size=2885, ...}) = 0 write(2, "Error: configuration file should"..., 50) = 50 exit_group(1) = ? +++ exited with 1 +++ config file: -rw-r--r-- 1 root staff 2.9K Sep 15 10:25 /usr/local/etc/firejail/firejail.config Im running debian jessie and firejail git head (commit 4e947d97bb3b2143c922f56c3814455162b103db)
gitea-mirror 2026-05-05 06:04:05 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chiraag-nataraj commented on GitHub (Sep 17, 2016):

I had the same problem. Change ownership to root:root and it should work I think?

<!-- gh-comment-id:247740455 --> @chiraag-nataraj commented on GitHub (Sep 17, 2016): I had the same problem. Change ownership to `root:root` and it should work I think?
Author
Owner

@netblue30 commented on GitHub (Sep 17, 2016):

I put a fix in, thanks for the bug.

<!-- gh-comment-id:247767154 --> @netblue30 commented on GitHub (Sep 17, 2016): I put a fix in, thanks for the bug.
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#533
No description provided.