feat(profile): replace former regex by the new @{user} variable.

This commit is contained in:
Alexandre Pujol 2024-05-15 17:22:20 +01:00
parent 407c71b133
commit ad960d477b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 11 additions and 11 deletions

View file

@ -92,7 +92,7 @@ profile kscreenlocker_greet @{exec_path} {
owner @{tmp}/*-cover-*.{jpg,png} r,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/faillock/@{user} rwk,
@{sys}/devices/system/node/ r,
@{sys}/devices/system/node/node@{int}/meminfo r,

View file

@ -172,7 +172,7 @@ profile sddm @{exec_path} flags=(attach_disconnected,mediate_deleted) {
owner @{tmp}/#@{int} rw,
owner @{tmp}/sddm-auth* rw,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/faillock/@{user} rwk,
@{run}/sddm.pid rw,
@{run}/sddm/\{@{uuid}\} rw,
@{run}/sddm/#@{int} rw,