mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5472] virtualbox: cannot access shared folders: Permission denied #3008
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#3008
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 @s1s1fo on GitHub (Nov 13, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5472
Description
Working in Ubuntu inside a VirtualBox machine where I have multiple shared folders shared from the host machine with the guest machine. Although I have whitelisted and noblacklisted several of those folders I get permission denied when trying to access them from programs such as Clementine or Digikam.
Log
E.g. having:
noblacklist ${HOME}/sharedFolders/sharedFolder
whitelist ${HOME}/sharedFolders/sharedFolder
I get:
Behavior without a profile
What changed calling LC_ALL=C firejail --noprofile /path/to/program in a terminal?
Works like a charm!
Environment
Checklist
The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it). ✔
I can reproduce the issue without custom modifications (e.g. globals.local).⨯ Custom modifications en several profiles, e.g /etc/digikamDB.profile as shown in log.
Other info:
I guess it has something to do with Virtualbox shared folders but I may be wrong.
Thanks
@rusty-snake commented on GitHub (Nov 13, 2022):
What owner and permission does it have inside and outside of the sandbox? Is it a FUSE filesystem?
Are they ever blacklisted?
@rusty-snake commented on GitHub (Nov 13, 2022):
You should give more information about your environment and test cases.
@s1s1fo commented on GitHub (Nov 13, 2022):
Added the info to my original comment.