!38 [sync] PR-31: create /etc/at.allow
From: @openeuler-sync-bot Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
c65a7be6ef
13
at.spec
13
at.spec
@ -1,6 +1,6 @@
|
|||||||
Name: at
|
Name: at
|
||||||
Version: 3.2.5
|
Version: 3.2.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A job manager
|
Summary: A job manager
|
||||||
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
|
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
|
||||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||||
@ -93,6 +93,11 @@ make test
|
|||||||
%systemd_preun atd.service
|
%systemd_preun atd.service
|
||||||
|
|
||||||
%post
|
%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
|
touch %{_localstatedir}/spool/at/.SEQ
|
||||||
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
||||||
chown root:root %{_localstatedir}/spool/at/.SEQ
|
chown root:root %{_localstatedir}/spool/at/.SEQ
|
||||||
@ -122,6 +127,12 @@ chown root:root %{_localstatedir}/spool/at/.SEQ
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 27 2024 shixuantong <shixuantong1@huawei.com> - 3.2.5-3
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:create /etc/at.allow
|
||||||
|
|
||||||
* Fri May 24 2024 shixuantong <shixuantong1@huawei.com> - 3.2.5-2
|
* Fri May 24 2024 shixuantong <shixuantong1@huawei.com> - 3.2.5-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user