aMule, a file sharing program; not all executables (#546)

* aMule, a file sharing program; not all executables

* ABI 4; document directories; amule//shell was deleted
This commit is contained in:
beroal 2024-10-06 22:46:12 +03:00 committed by GitHub
parent ce3813133f
commit a5cafe26ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Roman Beslik <me@beroal.in.ua>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/fileview
profile fileview @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
# This program parses aMule internal data files like "server.met".
# The paths to these files are given as arguments.
# The following directories are those that users likely want to read.
# However, this program is usable without the permissions below.
owner @{HOME}/.aMule/{,**} r,
@{user_torrents_dirs}/{,**} r,
include if exists <local/fileview>
}
# vim:syntax=apparmor