Firejail: Can RPMs or DEBs be installed and tested in --private Firejails?

Created on 21 Jan 2019  路  4Comments  路  Source: netblue30/firejail

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.

information

Most helpful comment

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.

All 4 comments

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.

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.

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

firejail --overlay-named=jail1 firefox

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thiswillbeyourgithub picture thiswillbeyourgithub  路  3Comments

reinerh picture reinerh  路  3Comments

yourcelf picture yourcelf  路  4Comments

ericschdt picture ericschdt  路  3Comments

polyzen picture polyzen  路  4Comments