summarylogtreecommitdiffstats
path: root/tang.tmpfiles.conf
diff options
context:
space:
mode:
authorJonas Witschel2022-06-05 14:14:21 +0200
committerJonas Witschel2022-06-05 14:14:21 +0200
commitf8d21176abb7e9e6a138bf15bfdb8fe3dc916e7f (patch)
tree5762f05d62259b09da6048f1cc45a34dc59d06a5 /tang.tmpfiles.conf
parentfde69cb169ce1ef8df3dc082dd34c1d2c7bcc4ba (diff)
downloadaur-f8d21176abb7e9e6a138bf15bfdb8fe3dc916e7f.tar.gz
upgpkg: tang-git 11.r0.e2059ee-1: create tang user and adjust key directory permissions
Upstream https://github.com/latchset/tang/commit/80725fda5dd2f98b201af06bb66ee96b1ec8863a switched the tangd service from running as root to a dedicated unprivileged "tang" user. We need to create this user and adjust the permissions of the key directory accordingly. This brings the PKGBUILD in sync with the package in [community].
Diffstat (limited to 'tang.tmpfiles.conf')
-rw-r--r--tang.tmpfiles.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tang.tmpfiles.conf b/tang.tmpfiles.conf
new file mode 100644
index 000000000000..597b2c2e085a
--- /dev/null
+++ b/tang.tmpfiles.conf
@@ -0,0 +1,3 @@
+Z /var/db/tang 0700 tang tang
+z /var/db/tang/*.jwk 0440 tang tang
+z /var/db/tang/.*.jwk 0440 tang tang