mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 21:03:12 +02:00
fc0c06621b
databases, and who knows what else the user has (think: 3rd party modules).
28 lines
852 B
Plaintext
28 lines
852 B
Plaintext
# AppArmor profile for UnrealIRCd 5
|
|
#
|
|
# Note that you may still see some DENIED warnings in logs with
|
|
# operation="chmod". These are harmless and can be safely ignored.
|
|
#
|
|
# Tested on Ubuntu 16.04 LTS and Ubuntu 18.04 LTS
|
|
#
|
|
# IMPORTANT: you will have to modify the path to executable below
|
|
# if it's not /home/ircd/unrealircd/bin/unrealircd !
|
|
|
|
#include <tunables/global>
|
|
|
|
# Change the pathname of your UnrealIRCd executable here:
|
|
/home/ircd/unrealircd/bin/unrealircd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
|
|
@{HOME}/unrealircd/conf/ r,
|
|
@{HOME}/unrealircd/conf/** r,
|
|
@{HOME}/unrealircd/data/** rw,
|
|
@{HOME}/unrealircd/lib/*.so* mr,
|
|
@{HOME}/unrealircd/logs/* rw,
|
|
@{HOME}/unrealircd/modules/**.so r,
|
|
@{HOME}/unrealircd/tmp/ r,
|
|
@{HOME}/unrealircd/tmp/* mrw,
|
|
@{HOME}/unrealircd/bin/unrealircd mr,
|
|
}
|