Skip to content

Commit

Permalink
Merge pull request #2710 from TheDarkTrumpet/1139-AddTeamsProfile
Browse files Browse the repository at this point in the history
Add Microsoft Teams for Linux (Electron) profile
  • Loading branch information
SkewedZeppelin authored Jun 4, 2019
2 parents e6cd0c1 + 46c8b93 commit 8fe4e69
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ blacklist ${HOME}/.surf
blacklist ${HOME}/.sword
blacklist ${HOME}/.sylpheed-2.0
blacklist ${HOME}/.synfig
blacklist ${HOME}/.config/teams-for-linux
blacklist ${HOME}/.tconn
blacklist ${HOME}/.teeworlds
blacklist ${HOME}/.thunderbird
Expand Down Expand Up @@ -757,3 +758,4 @@ blacklist /var/games/slashem
blacklist /var/games/vulturesclaw
blacklist /var/games/vultureseye
blacklist /var/lib/games/Maelstrom-Scores

42 changes: 42 additions & 0 deletions etc/teams-for-linux.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Firejail profile for teams-for-linux
# Description: Teams for Linux is an Electron application for Microsoft's team collaboration and chat program
# This file is overwritten after every install/update
# Persistent local customizations
include teams-for-linux.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/teams-for-linux

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc

mkdir ${HOME}/.config/teams-for-linux
whitelist ${HOME}/.config/teams-for-linux
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-var-common.inc

caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp
shell none

disable-mnt
private-bin sh,xdg-mime,tr,sed,echo,head,cut,xdg-open,grep,egrep,bash,zsh,teams-for-linux
private-cache
private-dev
private-etc fonts,machine-id,localtime,ld.so.cache,ca-certificates,ssl,pki,crypto-policies,resolv.conf
private-tmp
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ sylpheed
synfigstudio
sysprof
sysprof-cli
teams-for-linux
teamspeak3
teeworlds
telegram
Expand Down

0 comments on commit 8fe4e69

Please sign in to comment.