mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3230] Yet another symlink question #2027
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#2027
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 @aleprovencio on GitHub (Feb 17, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3230
Hello,
this is about creating a sandbox for an application (i.e.
qutebrowser) which has its configuration files (i.e.~/.config/qutebrowser/config.py) assymlinksto other files (~/code/dotfiles/qutebrowser/config.py).I'm sorry about asking 'Yet another
symlinkquestion'. I do so because I have seem lots of threads about it and although the workarounds are there (i.e. #2329 and #2617), I could not find a thread that handles the real solution or even concentrates the ideas for a PR, so maybe I can help somehow/subscribe to.@smitsohu commented on GitHub (Feb 17, 2020):
Doesn't that work (add to your existing profile)?
@aleprovencio commented on GitHub (Feb 17, 2020):
THANK YOU! I'm really ashamed it was that easy..
As I like to use the original profiles, using
whitelist ${HOME}/codeon aglobals.localfile, felt like a neat solution to this problem.Maybe there's room for improvement on the docs on this or am I blind again?
@rusty-snake commented on GitHub (Feb 17, 2020):
This will break any non whitelisting profiles for you. You need to add it to all PROFILE.local files for whitelisting profiles.
@rusty-snake commented on GitHub (Feb 17, 2020):
Untested code snipped:
Does not work with profiles like firefox.profile because wc is in firefox-common.profile.
@aleprovencio commented on GitHub (Feb 17, 2020):
Got it, thank you.
@aleprovencio commented on GitHub (Feb 17, 2020):
@rusty-snake ,
In order to avoid this redundancy in more profiles, is it fine if I put it under
whitelist-common.local?@rusty-snake commented on GitHub (Feb 18, 2020):
@aleprovencio works too.