feat(tunable): add the new @{user} variable

This commit is contained in:
Alexandre Pujol 2024-05-07 17:41:34 +01:00
parent 1842f8a4d5
commit 66c8f42d94
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 12 additions and 7 deletions

View file

@ -154,8 +154,8 @@ profile hardinfo @{exec_path} {
@{sys}/fs/cgroup/{,**} r,
owner @{tmp}/hsperfdata_*/ rw,
owner @{tmp}/hsperfdata_*/@{pid} rw,
owner @{tmp}/hsperfdata_@{user}/ rw,
owner @{tmp}/hsperfdata_@{user}/@{pid} rw,
}

View file

@ -61,8 +61,8 @@ profile jdownloader @{exec_path} {
owner @{HOME}/.install4j rw,
owner @{tmp}/hsperfdata_*/ rw,
owner @{tmp}/hsperfdata_*/@{pid} rw,
owner @{tmp}/hsperfdata_@{user}/ rw,
owner @{tmp}/hsperfdata_@{user}/@{pid} rw,
# If the @{JD_INSTALLDIR}/tmp/ dir can't be accessed, the /tmp/ dir will be used instead
owner @{tmp}/SevenZipJBinding-*/ rw,
owner @{tmp}/SevenZipJBinding-*/lib7-Zip-JBinding.so mrw,