AppArmor Profiles for Electrum
AppArmor Profiles for Electrum
This commit is contained in:
committed by
Rogit config --global credential.helper store
parent
5f95d919df
commit
dd72b5976b
15
contrib/apparmor/usr.local.bin.electrum
Normal file
15
contrib/apparmor/usr.local.bin.electrum
Normal file
@@ -0,0 +1,15 @@
|
||||
#Credits: Anton Nesterov
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{electrum_exec_path} = /{usr/,usr/local/,*/*/.local/,}bin/electrum
|
||||
|
||||
profile electrum @{electrum_exec_path} {
|
||||
include <abstractions/electrum>
|
||||
|
||||
@{electrum_exec_path} mr,
|
||||
owner @{HOME}/.electrum/{**,} rw,
|
||||
owner @{HOME}/.local/{**,} mrw,
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user