feat(profile): finish using variable instead of [0-9].

This commit is contained in:
Alexandre Pujol 2025-04-06 20:56:39 +02:00
parent 26d0797a07
commit 4c67b21bf3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
26 changed files with 35 additions and 35 deletions

View file

@ -41,7 +41,7 @@ profile popularity-contest @{exec_path} {
/var/lib/ r,
/var/lib/dpkg/info/{,*.list} r,
/var/log/ r,
/var/log/popularity-contest.[0-9]* w,
/var/log/popularity-contest.@{int} w,
/var/log/popularity-contest.new w,
owner @{tmp}/#@{int} rw,

View file

@ -131,7 +131,7 @@ profile qbittorrent @{exec_path} {
@{python_path} r,
owner @{user_share_dirs}/{,data/}qBittorrent/nova[0-9]/{,**} rw,
owner @{user_share_dirs}/{,data/}qBittorrent/nova@{int}/{,**} rw,
owner @{user_torrents_dirs}/** r,

View file

@ -15,8 +15,8 @@ profile rfkill @{exec_path} {
/dev/rfkill rw,
@{sys}/devices/@{pci}/rfkill[0-9]/{name,type} r,
@{sys}/devices/platform/**/rfkill/rfkill[0-9]/{name,type} r,
@{sys}/devices/@{pci}/rfkill@{int}/{name,type} r,
@{sys}/devices/platform/**/rfkill/rfkill@{int}/{name,type} r,
include if exists <local/rfkill>
}