
According to the fapolicyd documentation found here: https://github.com/linux-application-whitelisting/fapolicyd
Starting with the 0.9.4 release, the rpm backend filters most files in the
/usr/share
directory. It keeps anything with a with a python extension or a libexec directory. It also keeps/usr/src/kernel
so that Akmod can still build drivers on a kernel update.
You would have to add a rule to /etc/fapolicyd/fapolicyd.rules
to allow open/execute from the /usr/share/teams
directory. I am trying to do the same with VS Code.
Also, /usr/share
is not a great place for applications to be installed. For reference:
https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#PURPOSE26