From 6393a28146d2fcd679e44cbf2f3a394e86376b66 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Mon, 27 May 2024 09:43:52 +0800 Subject: [PATCH] create /etc/at.allow (cherry picked from commit ebada77c6994461c7d5233a42e6219c53700ccf0) --- at.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/at.spec b/at.spec index efd5a57..e033f8a 100644 --- a/at.spec +++ b/at.spec @@ -1,6 +1,6 @@ Name: at Version: 3.2.5 -Release: 2 +Release: 3 Summary: A job manager License: GPLv3+, GPLv2+, ISC, MIT, Public Domain URL: http://ftp.debian.org/debian/pool/main/a/at @@ -93,6 +93,11 @@ make test %systemd_preun atd.service %post +if ! test -f %{_sysconfdir}/at.allow; then + touch %{_sysconfdir}/at.allow + chown root:root %{_sysconfdir}/at.allow + chmod og-rwx %{_sysconfdir}/at.allow +fi touch %{_localstatedir}/spool/at/.SEQ chmod 600 %{_localstatedir}/spool/at/.SEQ chown root:root %{_localstatedir}/spool/at/.SEQ @@ -122,6 +127,12 @@ chown root:root %{_localstatedir}/spool/at/.SEQ %{_mandir}/man*/* %changelog +* Mon May 27 2024 shixuantong - 3.2.5-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:create /etc/at.allow + * Fri May 24 2024 shixuantong - 3.2.5-2 - Type:bugfix - ID:NA -- Gitee