Kaydet (Commit) a8c2d1c9 authored tarafından Bryan Quigley's avatar Bryan Quigley Kaydeden (comit) Caolán McNamara

AppArmor fixes to fix tests

This lets you run LO build tests while that LO is confined by
apparmor.

It assumes that you can have RW access to wherever LO actually needs
it in the instdir.  This obviously doesn't superseed file permissions
so you can still make the binaries read-only, etc.

Change-Id: I313459cdf115f4fda5f621b2a0c9a1da022ef525
Reviewed-on: https://gerrit.libreoffice.org/26987Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 68585e30
......@@ -120,13 +120,12 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
/usr/lib{,32,64}/jvm/ r,
/usr/lib{,32,64}/jvm/** r,
INSTDIR-** ra,
INSTDIR-**.so rm,
INSTDIR-share/uno_packages/cache/* rw,
INSTDIR-program/soffice.bin rmix,
INSTDIR-program/xpdfimport rpx,
INSTDIR-** rw,
INSTDIR-**.so m,
INSTDIR-program/soffice.bin mix,
INSTDIR-program/xpdfimport px,
INSTDIR-program/senddoc px,
/usr/bin/xdg-open rPUx,
INSTDIR-program/senddoc rpx,
/usr/share/java/**.jar r,
/usr/share/hunspell/ r,
......
......@@ -21,5 +21,8 @@ profile libreoffice-xpdfimport INSTDIR-program/xpdfimport {
/usr/share/poppler/** r,
/usr/share/libreoffice/share/config/* r,
owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
#Uncomment for build testing (should be one directory <- of instdir)
#/mnt/store/git/libo/** r,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment