feat(profile): general update.
This commit is contained in:
parent
7c5ba70b40
commit
f9a93ab67e
18 changed files with 51 additions and 75 deletions
|
|
@ -49,7 +49,6 @@ profile mount @{exec_path} flags=(attach_disconnected) {
|
|||
@{MOUNTS}/ rw,
|
||||
@{MOUNTS}/*/ rw,
|
||||
@{MOUNTS}/*/*/ rw,
|
||||
/media/cdrom[0-9]/ r,
|
||||
|
||||
# Mount iso/img files
|
||||
owner @{user_img_dirs}/{,**} rwk,
|
||||
|
|
|
|||
|
|
@ -9,8 +9,9 @@ include <tunables/global>
|
|||
|
||||
@{exec_path} = @{bin}/{low,}ntfs{,-3g}
|
||||
@{exec_path} += @{bin}/mount.{low,}ntfs{,-3g}
|
||||
profile ntfs-3g @{exec_path} {
|
||||
profile ntfs-3g @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/disks-write>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
|
|||
|
|
@ -47,4 +47,6 @@ profile ollama @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{PROC}/@{pid}/task/@{tid}/comm w,
|
||||
|
||||
include if exists <local/ollama>
|
||||
}
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ profile pam-tmpdir-helper @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{tmp}/user/ rw,
|
||||
owner /tmp/user/ rw,
|
||||
owner @{tmp}/ rw,
|
||||
|
||||
/dev/ptmx rw,
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ profile run-parts @{exec_path} {
|
|||
|
||||
owner @{tmp}/#@{int} rw,
|
||||
owner @{tmp}/$anacron* rw,
|
||||
owner @{tmp}/file@{rand6} ra,
|
||||
owner @{tmp}/file@{rand6} rw,
|
||||
|
||||
owner @{sys}/class/power_supply/ r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue