From 2497325729d9cc745bc7ea5e54c8cd78c3e8d32c Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Wed, 24 Jun 2020 10:03:02 -0400 Subject: [PATCH] Install tlog-rec-session with utmp group ownership Enables support for SGID update-utmp functionality --- .github/workflows/tlog-tests.yml | 2 +- tlog.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tlog-tests.yml b/.github/workflows/tlog-tests.yml index e6e36f81..9d138060 100644 --- a/.github/workflows/tlog-tests.yml +++ b/.github/workflows/tlog-tests.yml @@ -33,6 +33,6 @@ jobs: - name: permission setup run: sudo chmod g+s /usr/bin/tlog-rec-session - name: permission setup - run: sudo chown tlog:tlog /var/run/tlog + run: sudo chown tlog:utmp /var/run/tlog - name: intg tests run: sudo src/tlitest/tlitest-run diff --git a/tlog.spec b/tlog.spec index f4c06924..7c341af8 100644 --- a/tlog.spec +++ b/tlog.spec @@ -110,7 +110,7 @@ rm -r %{buildroot}/usr/include/%{name} %license COPYING %doc %{_defaultdocdir}/%{name} %{_bindir}/%{name}-rec -%attr(6755,%{name},%{name}) %{_bindir}/%{name}-rec-session +%attr(6755,%{name},utmp) %{_bindir}/%{name}-rec-session %{_bindir}/%{name}-play %{_libdir}/lib%{name}.so* %{_datadir}/%{name}