[Pkg-cron-devel] [pkg-cron] 02/12: Do not do check if /var/spool/cron/crontabs is empty (Closes: 892720, 892721, 892724)
Javier Fernandez-Sanguino Peña
jfs at moszumanska.debian.org
Mon Mar 12 22:52:32 UTC 2018
This is an automated email from the git hooks/post-receive script.
jfs pushed a commit to branch master
in repository pkg-cron.
commit 230478512cc82d879d727f6dfc18040bdd48c9d9
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Mon Mar 12 23:12:38 2018 +0100
Do not do check if /var/spool/cron/crontabs is empty (Closes: 892720, 892721,
892724)
---
debian/postinst | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/postinst b/debian/postinst
index 5f3f8c6..82ad768 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -65,6 +65,7 @@ if [ -d $crondir/crontabs ] ; then
# checks (see CVE-2017-9525), and chown/chgroup the crontabs
for tab_name in *
do
+ [ "$tab_name" = "*" ] && continue
tab_type=`stat -c '%F' "$tab_name"`
tab_links=`stat -c '%h' "$tab_name"`
tab_owner=`stat -c '%U' "$tab_name"`
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cron/pkg-cron.git
More information about the Pkg-cron-devel
mailing list