mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Allow mount-zfs access to pts
This commit is contained in:
parent
da08ef6aa6
commit
c9b4423e45
@ -15,6 +15,8 @@ profile mount-zfs @{exec_path} flags=(complain) {
|
|||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/dev/pts/[0-9]* rw,
|
||||||
|
|
||||||
@{MOUNTDIRS}/ r,
|
@{MOUNTDIRS}/ r,
|
||||||
@{MOUNTS}/ r,
|
@{MOUNTS}/ r,
|
||||||
@{MOUNTS}/*/ r,
|
@{MOUNTS}/*/ r,
|
||||||
|
@ -9,7 +9,7 @@ profile zpool @{exec_path} flags=(complain) {
|
|||||||
|
|
||||||
capability sys_admin,
|
capability sys_admin,
|
||||||
|
|
||||||
@{exec_path} r,
|
@{exec_path} rm,
|
||||||
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
|
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
|
||||||
/{usr/,}{local/,}bin/{ba,da,k,z,}sh rix,
|
/{usr/,}{local/,}bin/{ba,da,k,z,}sh rix,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user