Whitelisted home directory in Mozilla Firefox

Whitelisted home directory in Mozilla Firefox

Firejail is a SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table.

Written in C with virtually no dependencies, the software runs on any Linux computer with a 3.x kernel version or newer. The sandbox is lightweight, the overhead is low. There are no complicated configuration files to edit, no socket connections open, no daemons running in the background. All security features are implemented directly in Linux kernel and available on any Linux computer. The program is released under GPL v2 license.

Firejail can sandbox any type of processes: servers, graphical applications, and even user login sessions. The software includes security profiles for a large number of Linux programs: Mozilla Firefox, Chromium, VLC, Transmission etc. To start the sandbox, prefix your command with “firejail”:

$ firejail firefox                       # starting Mozilla Firefox
$ firejail transmission-gtk              # starting Transmission BitTorrent 
$ firejail vlc                           # starting VideoLAN Client
$ sudo firejail /etc/init.d/nginx start  # starting nginx web server

We also develop a graphical user interface, Firetools. Distributed as a separate package, the application is built using Qt4/Qt5 libraries. It provides a sandbox launcher integrated with the system tray, sandbox editing, management and statistics.




Firejail is a community project. We are not affiliated with any company, and we don’t have any commercial goals. Our focus is the Linux desktop. Home users and Linux beginners are our target market. The software is built by a large international team of volunteers on GitHub. Expert or just a regular Linux user, you are welcome to join us!




March 2018 – released Firetools 0.9.52 (Download). In this release we switch to a more pleasant grayscale color scheme, we introduce a number of small enhancements, and regular bugfixes. Release Notes.

December 2017 – released Firejail 0.9.52 (Download). The main feature in this release is a profile builder. Run “firejail –build program-name” and it will print in your terminal a very restrictive whitelisted profile for your application. A whitelisted seccomp filter is also extracted. You can use the resulting profile as a starting point when building your own profiles. There are also several other enhancements, a lot of new application profiles, and quite a number of bug fixes.Release Notes.

November 2017 – released Firejail (Download). This is a regular bugfix-only maintenance release on our long-term support (LTS) branch. Release Notes.

October 2017 – released Firetools 0.9.50. This release introduces a number of GUI enhancements and bugfixes. Firejail version 0.9.50 or newer is required in order to run this release. Release Notes.

September 2017 – released Firejail 0.9.50. This release introduces a number of small features, –private-lib support, support for Xpra versions 2.x, a redesign of seccomp subsystem, lost of new application profiles, and bugfixes. Release Notes.


External projects



  • Firewarden is a bash script used to open a program within a private Firejail sandbox.
  • Firejail Profile Generator
  • Ansible role to setup Firejail
  • firejail-extras: Arch Linux AUR package containing extra security profiles for Firejail
  • https://github.com/chiraag-nataraj/firejail-profiles – This is a collection of tighter security profiles maintained by a Firejail contributor.
  • Firejail package on SlackBuilds.org
  • Firectl is a tool to integrate Firejail sandboxing in the Linux desktop. Enable Firejail for an application and enjoy a more secure desktop.
  • copr builds (Fedora/CentOS) of the latest version in master git. The executable is installed without SUID bit set, it will work only when the sandbox is started as root. To fix it, run “sudo chmod u+s /usr/bin/firejail”.
  • ansible-firejail – Ansible playbook for Firejail.