crontab: Use editor abstraction
This commit is contained in:
parent
98ea2fa47b
commit
192d227c50
1 changed files with 1 additions and 12 deletions
|
|
@ -35,21 +35,10 @@ profile crontab @{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,
|
||||
|
||||
/tmp/ r,
|
||||
owner @{tmp}/crontab.*/crontab rw,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue