Skip to content

Commit

Permalink
Convert hardcoded Downloads folder to ${DOWNLOADS}
Browse files Browse the repository at this point in the history
  • Loading branch information
chiraag-nataraj committed Jul 25, 2018
1 parent a0570b5 commit 0db7c26
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 27 deletions.
2 changes: 1 addition & 1 deletion darktable.profile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ${HOME}/.config/firejail/common.inc
include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/Pictures
whitelist ${HOME}/.config/darktable
whitelist ${HOME}/.cache/darktable
Expand Down
2 changes: 1 addition & 1 deletion emacs.profile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include ${HOME}/.config/firejail/noexec-tmp.inc
whitelist /tmp/user/1000/
whitelist /tmp/.X11-unix/

whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/Documents
whitelist ${HOME}/.emacs
whitelist ${HOME}/.emacs.d
Expand Down
2 changes: 1 addition & 1 deletion firefox.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/.mozilla
whitelist ${HOME}/Downloads/
whitelist ${DOWNLOADS}
whitelist ${HOME}/.pulse/
whitelist ${HOME}/.cache/mozilla/firefox
whitelist ${HOME}/.config/pulse/
Expand Down
2 changes: 1 addition & 1 deletion libreoffice.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include ${HOME}/.config/firejail/common.inc
include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/Documents
whitelist ${HOME}/.config/libreoffice
whitelist ${HOME}/.config/gtk-3.0
Expand Down
2 changes: 1 addition & 1 deletion linphone.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/.linphonerc
whitelist ${HOME}/.linphone-history.db
whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/.gtkrc-2.0
2 changes: 1 addition & 1 deletion luminance-hdr.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/Pictures
whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/.LuminanceHDR
whitelist ${HOME}/.config/Luminance HDR Development Team

Expand Down
2 changes: 1 addition & 1 deletion mutt.profile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ whitelist ${HOME}/.gnupg
whitelist ${HOME}/.rolo

# To store files
whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}

whitelist /tmp/user/1000/emacs1000/
whitelist /tmp/user/1000/mutt1000/
Expand Down
2 changes: 1 addition & 1 deletion openshot.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/.openshot_qt/
whitelist ${HOME}/.gtkrc-2.0
whitelist ${HOME}/Downloads/
whitelist ${DOWNLOADS}
whitelist ${HOME}/Videos/

private-bin openshot-qt,python3
2 changes: 1 addition & 1 deletion scribus.profile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ${HOME}/.config/firejail/common.inc
include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/Downloads/
whitelist ${DOWNLOADS}
whitelist ${HOME}/Documents/
whitelist ${HOME}/.scribus/
whitelist ${HOME}/.gtkrc-2.0
Expand Down
26 changes: 9 additions & 17 deletions skype.profile
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
# Firejail profile for skype
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/skype.local
# Persistent global definitions
include /etc/firejail/globals.local

whitelist ${HOME}/.Skype
whitelist ${DOWNLOADS}

blacklist /boot
blacklist /media
blacklist /mnt
blacklist /opt

whitelist ${HOME}/.Skype
whitelist ${HOME}/Downloads
whitelist /tmp/.X11-unix
include /etc/firejail/whitelist-common.inc

noexec ${HOME}/
noexec /tmp/
caps.drop all
ipc-namespace
noroot
protocol inet,inet6,unix
seccomp

private-bin skype,bash
noroot
private-etc resolv.conf,hosts,fonts,pulse

noexec ${HOME}/
noexec /tmp/
private-bin skype,bash
whitelist /tmp/.X11-unix
ipc-namespace
2 changes: 1 addition & 1 deletion virtualbox.profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ${HOME}/.config/firejail/common.inc
include ${HOME}/.config/firejail/noexec-home.inc
include ${HOME}/.config/firejail/noexec-tmp.inc

whitelist ${HOME}/Downloads
whitelist ${DOWNLOADS}
whitelist ${HOME}/VirtualBox_VMs
whitelist ${HOME}/.config/VirtualBox
whitelist ${HOME}/.gtkrc-2.0
Expand Down

0 comments on commit 0db7c26

Please sign in to comment.