mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2721] Is it possible to create a new file virutal filesystem and isolate it from the main operating system? #1713
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#1713
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 @Raj2032 on GitHub (May 23, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2721
Is it possible to create a new file virtual filesystem and isolate it from the main operating system using firejail?
@chiraag-nataraj commented on GitHub (May 23, 2019):
In what context? You could use
--overlay-tmpfs, for example, depending on what you're trying to do.@Raj2032 commented on GitHub (May 23, 2019):
So I want to install an application in a virtual environment, so I wanted to know if you can create a filesystem and this filesystem is isolated and cannot access the main operating system's files and any other resources. Does
--overlay-tmpfsdo what I want it to do?Also with these virtual file systems, is it stored as a file on the main file system?
@rusty-snake commented on GitHub (May 23, 2019):
@Raj2032 you may sould consider to use a VM. If you want to use firejail you can use the
--chrootoption (https://firejail.wordpress.com/documentation-2/basic-usage/#chroot), then you still need to protect the kernel likefirejail --noprofile --seccomp --chroot=/your/chroot program@Raj2032 commented on GitHub (May 23, 2019):
@rusty-snake I don't want to use VM as that is too slow.
Whats the difference between
--overlay-tmpfsand--chroot?@rusty-snake commented on GitHub (May 23, 2019):
@Raj2032 commented on GitHub (May 24, 2019):
@rusty-snake Thanks man one last question, using firejail chroot, can you have multiple filesystems?
@rusty-snake commented on GitHub (May 24, 2019):
@Raj2032 Not sure, but maybe with mount or bind-mount.
@Raj2032 commented on GitHub (May 25, 2019):
@rusty-snake Thanks
@chiraag-nataraj commented on GitHub (May 28, 2019):
@Raj2032 since it seems like your questions were answered, I'll go ahead and close this. Feel free to re-open if you have more questions!