Profile for sdcv

This commit is contained in:
mapwood 2023-02-05 01:38:21 +00:00 committed by GitHub
parent 1ff3636fb5
commit c00f75a61c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
contribution Normal file
View file

@ -0,0 +1,18 @@
include <tunables/global>
# vim:syntax=apparmor
# AppArmor policy for sdcv
# Copyright (C) 2023 Andy Ramos
# SPDX-License-Identifier: GPL-3.0-only
profile sdcv /usr/bin/sdcv {
include <abstractions/base>
include <abstractions/bash>
owner @{HOME}/.cache/sdcv/{,**} rwk,
owner @{HOME}/.stardict/dic/{,**} rw,
/usr/share/stardict/dic/{,**} rw,
owner @{HOME}/{.sdcv,sdcv,.stardict,stardict}* rw,
}