mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4646] private-bin throws fopen: Permission denied after latest related commits #2738
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2738
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Oct 27, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4646
Profiles with
private-binrecently started to throwfopen: Permission deniedfor me with firejail built from git:Compare that to:
Bisecting points to these commits:
7f0b5ddd88ee1d5d7c8c98df98e998@smitsohu Any insights on why this could be happening?
@rusty-snake commented on GitHub (Oct 27, 2021):
Minimal STR:
firejail --noprofile --private-bin=true trueSnipped from
--debug:@smitsohu commented on GitHub (Oct 27, 2021):
Thanks!
The message is coming from here:
efbf74e124/src/firejail/fs_logger.c (L91-L100)If
private-binis the first to call fs_logger_print() it must be root to create the file. I'll push a fix shortly.@smitsohu commented on GitHub (Oct 27, 2021):
Ah sorry, I didn't see that @glitsj16 already wanted to work on it. It's yours :)
@ghost commented on GitHub (Oct 27, 2021):
I'm not sure what happened, but I think GitHub assigned me automatically somehow.
@smitsohu I don't want to break things, please push your fix :)
@smitsohu commented on GitHub (Oct 28, 2021):
Well... it looks like I am breaking things, too ;)
@smitsohu commented on GitHub (Oct 29, 2021):
Fixed!