feat(profile): use the new @{tmp} variable.

It is only used with the owner statement.
This commit is contained in:
Alexandre Pujol 2024-05-02 22:12:02 +01:00
parent 0bbbe71422
commit 3f69b9fec4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
257 changed files with 668 additions and 685 deletions

View file

@ -55,7 +55,7 @@ profile aurpublish @{exec_path} {
owner @{user_cache_dirs}/makepkg/src/* rw,
owner @{user_config_dirs}/pacman/makepkg.conf r,
owner /tmp/tmp.* rw,
owner @{tmp}/tmp.* rw,
owner @{PROC}/@{pid}/maps r,

View file

@ -107,8 +107,8 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
# Temp files
owner @{run}/initramfs/{,**} rw,
owner @{run}/mkinitcpio.@{rand6}/{,**} rw,
owner /tmp/mkinitcpio.@{rand6} rw,
owner /tmp/mkinitcpio.@{rand6}/{,**} rw,
owner @{tmp}/mkinitcpio.@{rand6} rw,
owner @{tmp}/mkinitcpio.@{rand6}/{,**} rw,
@{sys}/class/block/ r,
@{sys}/devices/{,**} r,

View file

@ -126,9 +126,9 @@ profile pacman @{exec_path} {
@{user_pkg_dirs}/**.pkg.tar.zst{,.sig} r,
owner /var/lib/pacman/{,**} rwl,
owner /tmp/alpm_*/{,**} rw,
owner /tmp/checkup-db-@{int}/sync/{,*.db*} rw,
owner /tmp/checkup-db-@{int}/db.lck rw,
owner @{tmp}/alpm_*/{,**} rw,
owner @{tmp}/checkup-db-@{int}/sync/{,*.db*} rw,
owner @{tmp}/checkup-db-@{int}/db.lck rw,
@{run}/utmp rk,