mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2989] k3b needs access to /usr/bin/cdrecord #1870
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#1870
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 @bobafetthotmail on GitHub (Oct 5, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2989
and if I try whitelisting this path in k3b.inc I get "invalid whitelist path".
Also if I add a noblacklist line with same path before the whitelist line
@Vincent43 commented on GitHub (Oct 5, 2019):
For
/usr/bin/paths you don't use whitelist butprivate-binoption however k3b profile doesn't restrict acces to /usr/bin so the problem is somewhere else. IIRCcdrecordmay be installed as setuid binary so lack of privileges inside sandbox may be the problem.@bobafetthotmail commented on GitHub (Oct 5, 2019):
cdrecord does not seem to have setuid set
@rusty-snake commented on GitHub (Oct 5, 2019):
Maybe capabilities. Can you try
firejail --profile=k3b bashand then try if cdrecord can be executed.@bobafetthotmail commented on GitHub (Oct 5, 2019):
No it cannot be executed. I show the
ls -ltoo here@Vincent43 commented on GitHub (Oct 5, 2019):
Could you post
getcap /usr/bin/cdrecordoutput?@bobafetthotmail commented on GitHub (Oct 5, 2019):
@rusty-snake commented on GitHub (Oct 6, 2019):
Try replacing
caps.drop allwithpossibly the list can be shortened.
@rusty-snake commented on GitHub (Nov 10, 2019):
@bobafetthotmail
I'm closing here due to inactivity, please fell free to reopen if you still have this issue.
@Vincent43 commented on GitHub (Nov 11, 2019):
@rusty-snake I think even without feedback we should try to fix k3b profile, at least with rule you proposed.
@smitsohu commented on GitHub (Nov 11, 2019):
Unfortunately I currently cannot test these things, but I wouldn't be surprised if Brasero had similar problem.
@rusty-snake commented on GitHub (Dec 14, 2019):
Brasero works with firejail master.
@Vincent43 commented on GitHub (Dec 15, 2019):
As there is no feedback from reporter let's consider this one fixed and re-open when someone found otherwise.
@CodeArtisan00 commented on GitHub (Feb 28, 2021):
caps.keep chown,dac_override,ipc_lock,net_bind_service,sys_admin,sys_nice,sys_rawio,sys_resource-tested onArch Linux.net_bind_serviceis odd one for me. I don't know why this one is needed.