mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #287] How to work with symlinks? #204
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#204
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 @voidzero on GitHub (Feb 9, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/287
Example: My .mozilla, .config/chromium, and .cache directories are symlinks that point to a zram (compressed memory) directory, for speed purposes and to reduce disk writes. On boot and shutdown those directories are synched from/to disk. So my home dir looks like this:
When I try to launch
firejail firefox:What is the recommended way to work with a setup like this? I know that a workaround is to bind-mount rather than symlink, but for boot purposes this is not ideal right now.
I'd appreciate some pointers, cheers.
@netblue30 commented on GitHub (Feb 9, 2016):
You need both the link and the original file in your home directory. You need to mount the zram somewhere in your home directory, /home/user/snc for example.
@voidzero commented on GitHub (Feb 13, 2016):
Alright thanks. Perhaps this is useful for a FAQ entry?
@netblue30 commented on GitHub (Feb 14, 2016):
I put it in the man page.