livingword26

etc/firejail/libreoffice.profile

Feb 24th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. # Firejail profile for libreoffice
  2. # Description: Office productivity suite
  3. # This file is overwritten after every install/update
  4. # Persistent local customizations
  5. include libreoffice.local
  6. # Persistent global definitions
  7. include globals.local
  8.  
  9. noblacklist ${HOME}/.java
  10. noblacklist /usr/local/sbin
  11. noblacklist ${HOME}/.config/libreoffice
  12.  
  13. # libreoffice uses java; if you don't care about java functionality,
  14. # comment the next four lines
  15. noblacklist ${PATH}/java
  16. noblacklist /usr/lib/java
  17. noblacklist /etc/java
  18. noblacklist /usr/share/java
  19.  
  20. include disable-common.inc
  21. include disable-devel.inc
  22. include disable-passwdmgr.inc
  23. include disable-programs.inc
  24.  
  25. include whitelist-var-common.inc
  26.  
  27. # ubuntu 18.04 comes with its own apparmor profile, but it is not in enforce mode.
  28. # comment the next line to use the ubuntu profile instead of firejail's apparmor profile
  29. apparmor
  30. caps.drop all
  31. #machine-id
  32. netfilter
  33. #nodbus
  34. nodvd
  35. nogroups
  36. # comment nonewprivs when using the ubuntu 18.04/debian 10 apparmor profile
  37. nonewprivs
  38. noroot
  39. notv
  40. nou2f
  41. # comment the protocol line when using the ubuntu 18.04/debian 10 apparmor profile
  42. protocol unix,inet,inet6
  43. # comment seccomp when using the ubuntu 18.04/debian 10 apparmor profile
  44. seccomp
  45. shell none
  46. # comment tracelog when using the ubuntu 18.04/debian 10 apparmor profile
  47. tracelog
  48.  
  49. private-dev
  50. private-tmp
  51.  
  52. noexec ${HOME}
  53. noexec /tmp
  54.  
  55. join-or-start libreoffice
Advertisement
Add Comment
Please, Sign In to add comment