From 594ca5e9e9ee4a895fc7a76e17fa9d3f84b9d79c Mon Sep 17 00:00:00 2001
From: Dinyar Rabady <dinyar.rabady@cern.ch>
Date: Thu, 20 Jul 2023 14:08:20 +0200
Subject: [PATCH] Make files installed by RPM owned by scouter user

---
 scripts/scdaqrpm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/scdaqrpm.sh b/scripts/scdaqrpm.sh
index b40faffc..65cc9783 100755
--- a/scripts/scdaqrpm.sh
+++ b/scripts/scdaqrpm.sh
@@ -176,7 +176,7 @@ systemctl daemon-reload
 %dir %attr(777, -, -) /var/cache/scdaq
 %dir %attr(777, -, -) /var/log/scdaq
 %dir %attr(777, -, -) /var/log/scdaq/pid
-%defattr(-, root, root, -)
+%defattr(-, scouter, root, -)
 /opt/scdaq/
 %config /etc/scdaq/scdaq.conf
 %attr( 644 ,root, root) /usr/lib/systemd/system/runSCdaq.service
-- 
GitLab