Use @{uid} instead of [0-9]* when it denotes the user id.

This commit is contained in:
Alexandre Pujol 2021-04-18 19:00:15 +01:00
parent cd4ad5b09c
commit 4a35b7d804
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
137 changed files with 253 additions and 253 deletions

View file

@ -31,7 +31,7 @@ profile ssh-agent @{exec_path} {
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/ssh/{,*} r,
# When started via systemd
@{run}/user/[0-9]*/openssh_agent rw,
@{run}/user/@{uid}/openssh_agent rw,
# askpass apps
#/{usr/,}lib/ssh/x11-ssh-askpass rPUx,