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:
parent
ce3813133f
commit
a5cafe26ea
7 changed files with 154 additions and 0 deletions
26
apparmor.d/profiles-a-f/fileview
Normal file
26
apparmor.d/profiles-a-f/fileview
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue