vipw-vigr: Use editor abstraction

This commit is contained in:
doublez13 2024-05-16 07:45:26 -06:00 committed by Alex
parent ce329175da
commit 9349baaff4

View File

@ -40,23 +40,11 @@ profile vipw-vigr @{exec_path} {
profile editor {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/app/editor>
capability fsetid,
@{bin}/sensible-editor mr,
@{bin}/vim.* mrix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
owner @{HOME}/.selected_editor r,
/usr/share/vim/{,**} r,
/etc/vim/{,**} r,
owner @{HOME}/.viminfo{,.tmp} rw,
/etc/{passwd,shadow,gshadow,group}.edit rw,
}
include if exists <local/vipw-vigr>