FIREJAIL-PROFILE(5) firejail profiles man page FIREJAIL-PROFILE(5) (NAME) firejail-profile - (SYNOPSIS) : firejail --profile=filename.profile : $ firejail --appimage --profile=/etc/firejail/kdenlive.profile kdenlive.appimage firejail --profile=profile_name : $ firejail --appimage --profile=kdenlive kdenlive.appimage : /usr/share/doc/firejail/profile.template . ~/.config/firejail "sudo firecfg" . : . LibreOffice . /usr/share/doc/firejail/redirect_alias-profile.template . : firejail --build=appname.profile appname : $ firejail --build=blobby.profile /usr/bin/blobby "firejail --build" . . (Sandboxing) . . ~/.config/firejail "sudo firecfg" . (DESCRIPTION) . Firejail : 1. --profile . ~/.config/firejail /etc/firejail . .profile . : $ firejail --profile=/home/netblue/icecat.profile /usr/bin/icecat Reading profile /home/netblue/icecat.profile [...] $ firejail --profile=icecat /usr/bin/icecat-wrapper.sh Reading profile /etc/firejail/icecat.profile [...] 2. ~/.config/firejail /etc/firejail . ~/.config/firejail /etc/firejail . : $ firejail /usr/bin/icecat Command name #icecat# Found icecat profile in /home/netblue/.config/firejail directory Reading profile /home/netblue/.config/firejail/icecat.profile [...] 3. default.profile root server.profile . Firejail ~/.config/firejail /etc/firejail . --noprofile . : $ firejail Reading profile /etc/firejail/default.profile Parent pid 8553, child pid 8554 Child process initialized [...] $ firejail --noprofile Parent pid 8553, child pid 8554 Child process initialized [...] (TEMPLATES) /usr/share/doc/firejail . profile.template - redirect_alias-profile.template - / (SCRIPTING) : . ' ' . : "blacklist ~/My Virtual Machines" # : # disable networking net none # this command creates an empty network namespace ?CONDITIONAL: profile line . : "?HAS_APPIMAGE: whitelist ${HOME}/special/appimage/dir" whitelist --appimage . HAS_APPIMAGE HAS_NET HAS_NODBUS HAS_NOSOUND HAS_PRIVATE HAS_X11. ALLOW_TRAY BROWSER_DISABLE_U2F BROWSER_ALLOW_DRM Firejail . "quiet" "include". : --profile () ( --appimage) --profile ( ?HAS_APPIMAGE) (True) . include other.profile other.profile. : "include /etc/firejail/disable-common.inc" ${HOME} ${CFG} . ${HOME} ${CFG} Firejail - /etc/firejail /usr/local/etc/firejail. : "include ${HOME}/myprofiles/profile1" "~/myprofiles/profile1" . : "include ${CFG}/firefox.profile" "/etc/firejail/firefox.profile" . . (${HOME}/.config/firejail) . : --profile '.profile' include . : "include firefox.profile" "${HOME}/.config/firejail/firefox.profile" "${CFG}/firefox.profile" . ${CFG} . ".local" . ${CFG} .local . .local . noblacklist file_name file_name blacklist . : "noblacklist ${HOME}/.mozilla" nowhitelist file_name file_name whitelist . : "nowhitelist ~/.config" ignore . : "ignore seccomp" : "ignore net eth0" quiet Firejail. . : "quiet" warn message stderr. ( ) . : "warn This file is deprecated; use foo instead." (FILESYSTEM) chroot . / (blacklist) (read-only) tmpfs (tmpfs) (bind) . private . (File globbing) PATH HOME FILE GLOBBING firejail(1) . : blacklist file_or_directory . . . . : . ~/foo /bar /bar . : blacklist /usr/bin blacklist /usr/bin/gcc* blacklist ${PATH}/ifconfig blacklist ${HOME}/.ssh blacklist-nolog file_or_directory --tracelog syslog . blacklist-nolog syslog . : blacklist-nolog /usr/bin blacklist-nolog /usr/bin/gcc* bind directory1,directory2 (Mount-bind) directory1 directory2. root . bind file1,file2 (Mount-bind) file1 file2. root . disable-mnt /mnt /media /run/mount /run/media. keep-config-pulse ~/.config/pulse PulseAudio . keep-dev-ntsync /dev/ntsync ( private- dev) . Wine . keep-dev-shm /dev/shm ( private-dev). keep-dev-tpm (TCM) (TPM) ( private-dev) . keep-shell-rc ( ~/.bashrc ~/.zshrc) /etc/skel. keep-var-tmp /var/tmp . mkdir directory /tmp /run/user/ . . . . . firefox: mkdir ~/.mozilla whitelist ~/.mozilla mkdir ~/.cache/mozilla/firefox whitelist ~/.cache/mozilla/firefox /run/user/ ${RUNUSER} : mkdir ${RUNUSER}/firejail-testing mkfile file mkdir /tmp /run/user/ . . noexec file_or_directory noexec nodev nosuid. private /root /home/user . . private directory directory . --private --private=directory . : firejail ( mkdir mkfile private-cache) . : "ignore mkdir" "ignore mkfile". : #903 . private-bin file,file /bin . /bin /sbin /usr/bin /usr/sbin /usr/local/bin . bind-mount /sbin /usr/bin /usr/sbin . private-bin . private-cache .cache . . private-cwd . private-cwd directory . . . private-dev /dev. disc dri dvb full hidraw log null ptmx pts random shm snd tty urandom usb video zero . no3d nodvd nosound notv nou2f novideo . private-etc file,directory /etc . /etc / ( /etc/foo foo /etc/foo/bar -- foo/bar -- ). . private- etc . private-home file,directory . . . private-opt file,directory /opt . /opt / ( /opt/foo foo /opt/foo/bar -- foo/bar -- ). . private-srv file,directory /srv . /srv / ( /srv/foo foo /srv/foo/bar -- foo/bar -- ). . private-tmp /tmp /tmp/.X11-unix . read-only file_or_directory . read-write file_or_directory - . tmpfs directory tmpfs directory. . root . tracelog syslog. whitelist file_or_directory . . firejail /etc/somedir/somefile /etc . /opt /usr . blacklist whitelist . bind-mount . . / . /proc /sys /sys/module . /run/user/$UID $HOME /usr . : . ~/foo ~/bar ~/bar . : . . whitelist-ro file_or_directory "whitelist file_or_directory" "read-only file_or_directory" writable-etc /etc -. writable-run-user /run/user/$UID/systemd /run/user/$UID/gnupg . writable-var /var -. writable-var-log /var/log . tmpfs /var/log /var/log . (SECURITY FILTERS) : allow-bwrap bubblewrap Firejail. Firejail /usr/bin/bwrap . allow-debuggers strace gdb ptrace process_vm_readv . apparmor AppArmor AppArmor "firejail- default". apparmor profile_name AppArmor AppArmor. . caps (Linux capabilities). capabilities(7) . caps.drop capability,capability,capability . caps.drop all . caps.keep capability,capability,capability . landlock.enforce () Landlock. Landlock . landlock.fs.read path () Landlock ( ) path. landlock.fs.write path () Landlock ( ) path. landlock.fs.makeipc path () Landlock ( ) (FIFOs) . landlock.fs.makedev path () Landlock ( ) . landlock.fs.execute path () Landlock ( ) path. memory-deny-write-execute seccomp . nonewprivs prctl NO_NEW_PRIVS. execve(2) suid ( ) . noprinters . noroot (User namespace). . root ( 0) . protocol protocol1,protocol2,protocol3 . seccomp socket . : unix inet inet6 netlink packet bluetooth. protocol . restrict-namespaces seccomp cgroup ipc net mount pid time user uts . restrict-namespaces cgroup,ipc,net,mnt,pid,time,user,uts seccomp . seccomp seccomp . man 1 firejail . seccomp.32 seccomp . seccomp syscall,syscall,syscall seccomp seccomp . seccomp.32 syscall,syscall,syscall seccomp seccomp . seccomp.block-secondary seccomp . seccomp.drop syscall,syscall,syscall seccomp . seccomp.32.drop syscall,syscall,syscall seccomp . seccomp.keep syscall,syscall,syscall seccomp . seccomp.32.keep syscall,syscall,syscall seccomp . seccomp-error-action kill | log | ERRNO EPERM (kill) (log) . x11 X11. x11 none /tmp/.X11-unix ${HOME}/.Xauthority ${XAUTHORITY} . DISPLAY XAUTHORITY. X11 . x11 xephyr X11 Xephyr. x11 xorg X11 X11. x11 xpra X11 Xpra. x11 xvfb X11 Xvfb. xephyr-extra-params OPTIONS Xephyr x11 xephyr. x11 xephyr . : xephyr-extra-params -grayscale x11 xephyr xephyr-screen WIDTHxHEIGHT x11 xephyr. x11 xephyr . : xephyr-screen 640x480 x11 xephyr DBus (DBUS FILTERING) (Session) DBus . ( ) --net . unix --protocol . xdg-dbus-proxy . DBus . "" (Sticky) ( ). .* ( "foo.bar.*" "foo.bar" "foo.bar.baz" "foo.bar.baz.quux" "foobar" ). xdg-dbus-proxy(1) . : dbus-system filter DBus . dbus-system.talk dbus-system.own . dbus-system none DBus . . dbus-system.broadcast org.freedesktop.Notifications=org.freedesktop.Notifications.*@/org/freedesktop/Notifications (Broadcast) org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications DBus . dbus-system.call org.freedesktop.Notifications=org.freedesktop.Notifications.*@/org/freedesktop/Notifications org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications DBus . dbus-system.own org.gnome.ghex.* org.gnome.ghex DBus . dbus-system.see org.freedesktop.Notifications org.freedesktop.Notifications DBus . dbus-system.talk org.freedesktop.Notifications org.freedesktop.Notifications DBus . dbus-user filter DBus . dbus-user.talk dbus-user.own . dbus-user none DBus . . dbus-user.broadcast org.freedesktop.Notifications=org.freedesktop.Notifications.*@/org/freedesktop/Notifications org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications DBus . dbus-user.call org.freedesktop.Notifications=org.freedesktop.Notifications.*@/org/freedesktop/Notifications org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications DBus . dbus-user.own org.gnome.ghex.* org.gnome.ghex DBus . dbus-user.see org.freedesktop.Notifications org.freedesktop.Notifications DBus . dbus-user.talk org.freedesktop.Notifications org.freedesktop.Notifications DBus . nodbus () D-Bus ( ). dbus-system none dbus- user none. --ignore . : [...] dbus-user filter dbus-user.own org.mozilla.firefox.* dbus-user.talk org.freedesktop.Notifications dbus-system none [...] : [...] ignore dbus-user.talk org.freedesktop.Notifications [...] (RESOURCE LIMITS, CPU AFFINITY) (rlimits) . ulimit . cpu . : cpu 0,1,2 0 1 2. nice -5 nice -5 . rlimit-as 123456789012 123456789012 . rlimit-cpu 123 . rlimit-fsize 1024 1024 . rlimit-nproc 1000 1000. rlimit-nofile 500 500. rlimit-sigpending 200 200. timeout hh:mm:ss . // . (USER ENVIRONMENT) allusers . . env name=value . : env LD_LIBRARY_PATH=/opt/test/lib env CFLAGS="-W -Wall -Werror" ipc-namespace IPC . IPC root . : IPC ipc_namespaces(7) . IPC ( unix(7)) . keep-fd . name sandboxname . : name browser no3d (3D). noautopulse () keep-config-pulse. nodvd DVD CD . nogroups (Supplementary user groups). noinput . nosound . notpm () . TPM keep-dev-tpm. notv DVB ( ). nou2f U2F. novideo . machine-id /etc/machine-id - . (NETWORKING) . defaultgw address (Default gateway) . dns address DNS . DNS . hostname name (Hostname) . hostname-randomize firejail. hosts-file file file /etc/hosts. ip address IP net. . : net eth0 ip 10.10.20.56 ip dhcp IP net DNS DHCP. DHCP ISC dhclient . : net br0 ip dhcp DHCP DNS dns DNS . DHCP DHCP (Release). DHCP DHCP net none . ip none IP net . DHCP . : net eth0 ip none ip6 address IPv6 net. : net eth0 ip6 2001:0db8:0:f101::1/64 ip6 dhcp IPv6 net DNS DHCP. DHCP ISC dhclient . : net br0 ip6 dhcp DHCP DNS dns DNS . DHCP DHCP . DHCP DHCP . iprange address,address IP net. . : net eth0 iprange 192.168.1.150,192.168.1.160 mac address MAC net. mtu number MTU net. net bridge_interface (Bridge). --ip --defaultgw IP . IP ARP . IP . --net . macvlan . net ethernet_interface|wireless_interface macvlan ipvlan . --ip --defaultgw IP . IP ARP . . --net . macvlan . net none . (lo) . . net tap_interface tap macvlan . tap . ip netmask defaultgw . netfilter . netfilter filename filename . netlock . netmask address IP --net . IP . netns namespace . "ip netns" . veth-name name --net=bridge_interface . (OTHER) deterministic-exit-code firejail . . deterministic-shutdown . . join-or-start sandboxname . "firejail --join=sandboxname" "name sandboxname". (FILES) /etc/firejail/appname.profile Firejail . $HOME/.config/firejail/appname.profile . /usr/share/doc/firejail/profile.template . /usr/share/doc/firejail/redirect_alias-profile.template / . (LICENSE) Firejail (GNU General Public License) ( ) / . : (SEE ALSO) firejail(1), firemon(1), firecfg(1), firejail-login(5), firejail-users(5), jailcheck(1) 0.9.80 Mar 2026 FIREJAIL-PROFILE(5)