[GH-ISSUE #2360] Can RPMs or DEBs be installed and tested in --private Firejails? #1571

Closed
opened 2026-05-05 08:13:53 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @Futureknows on GitHub (Jan 21, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2360

In other words install then run an app in a Firejail. When you close it, it is uninstalled? Sandboxie on Windows was great for this.

Originally created by @Futureknows on GitHub (Jan 21, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2360 In other words install then run an app in a Firejail. When you close it, it is uninstalled? Sandboxie on Windows was great for this.
gitea-mirror 2026-05-05 08:13:53 -06:00
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 21, 2019):

I think you technically can, but it is strongly advised against as using virtual machines are a far safer/secure method. There is an issue here somewhere that has more detail.

<!-- gh-comment-id:456156069 --> @SkewedZeppelin commented on GitHub (Jan 21, 2019): I think you technically can, but it is strongly advised against as using virtual machines are a far safer/secure method. There is an issue here somewhere that has more detail.
Author
Owner

@chiraag-nataraj commented on GitHub (Jan 21, 2019):

If you really want to:

  1. Start a firejail with an overlay: sudo firejail --name=tmpinst --overlay-tmpfs
  2. Copy files into the sandbox: sudo firejail --put=tmpinst /path/to/file/to/copy /root/file
  3. Install whatever you want inside the sandbox
  4. When you exit the sandbox, everything is undone.

As @SkewedZeppelin said, though, it's much better to use a VM.

<!-- gh-comment-id:456195903 --> @chiraag-nataraj commented on GitHub (Jan 21, 2019): If you really want to: 1. Start a `firejail` with an `overlay`: `sudo firejail --name=tmpinst --overlay-tmpfs` 2. Copy files into the sandbox: `sudo firejail --put=tmpinst /path/to/file/to/copy /root/file` 3. Install whatever you want inside the sandbox 4. When you exit the sandbox, everything is undone. As @SkewedZeppelin said, though, it's much better to use a VM.
Author
Owner

@chiraag-nataraj commented on GitHub (Jan 24, 2019):

@Futureknows I'm going to go ahead and close this, but please feel free to reopen if you would like more info!

<!-- gh-comment-id:457052512 --> @chiraag-nataraj commented on GitHub (Jan 24, 2019): @Futureknows I'm going to go ahead and close this, but please feel free to reopen if you would like more info!
Author
Owner

@Raj2032 commented on GitHub (Mar 26, 2019):

firejail --overlay-named=jail1 firefox

So does this create a new directory where firefox will be stored inside?

<!-- gh-comment-id:476605239 --> @Raj2032 commented on GitHub (Mar 26, 2019): `firejail --overlay-named=jail1 firefox` So does this create a new directory where firefox will be stored inside?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1571
No description provided.