aboutsummaryrefslogtreecommitdiffstats
path: root/make/template
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-07-23 10:09:15 +0100
committerGravatar Sadie Powell2026-07-23 10:09:15 +0100
commit80abe8e7f83dccc4e3362234b53ab233d94086e5 (patch)
tree5fe598f6678473820abc35a658958dd706104b9d /make/template
parentAdd network connection filtering to the AppArmor profile. (diff)
Add the example config directory to the AppArmor profile. upstream/insp4 upstream/HEAD
This may not necessarily be a subdirectory of the config directory.
Diffstat (limited to 'make/template')
-rw-r--r--make/template/apparmor3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/template/apparmor b/make/template/apparmor
index a7329f7ba..814ef6cd9 100644
--- a/make/template/apparmor
+++ b/make/template/apparmor
@@ -44,10 +44,11 @@ profile inspircd @BINARY_DIR@/inspircd {
@BINARY_DIR@/inspircd ixr,
@CONFIG_DIR@/** rw,
@DATA_DIR@/** rw,
+ @EXAMPLE_DIR@/ r,
+ @LOG_DIR@/** w,
@MODULE_DIR@/ r,
@MODULE_DIR@/core_*.so mr,
@MODULE_DIR@/m_*.so mr,
- @LOG_DIR@/** w,
@RUNTIME_DIR@/** rw,
# Required by the cloak_sha256 module: