From d2d67bdb1d3a381b451f0b085ba090dcd16fcdf4 Mon Sep 17 00:00:00 2001 From: Icarus Sparry Date: Tue, 31 Oct 2017 09:47:39 -0700 Subject: [PATCH] Change tmpfiles.d configuration Use the dbginfo user for the directories. Signed-off-by: Icarus Sparry --- debuginfo.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debuginfo.conf b/debuginfo.conf index 97e39e6..99dc610 100644 --- a/debuginfo.conf +++ b/debuginfo.conf @@ -8,5 +8,7 @@ # See tmpfiles.d(5) for details # Clear tmp directories separately, to make them easier to override -d /var/cache/debuginfo/lib 755 root root 10d -d /var/cache/debuginfo/src 755 root root 1d +# Unfortunatly tmpfiles doesn't change the ownership for things if they +# are not listed. +d /var/cache/debuginfo/lib 755 dbginfo dbginfo 10d +d /var/cache/debuginfo/src 755 dbginfo dbginfo 1d