From d5cb31aaae90600b71f98037e3445edd53f28329 Mon Sep 17 00:00:00 2001 From: Darik Horn Date: Mon, 13 Oct 2014 23:12:53 -0500 Subject: [PATCH] Install the cron.d part without the execute bit. Resolve this lintian error: E: zfs-auto-snapshot: bad-permissions-for-etc-cron.d-script etc/cron.d/zfs-auto-snapshot 0755 != 0644 W: zfs-auto-snapshot: executable-not-elf-or-script etc/cron.d/zfs-auto-snapshot This should also resolve a related failure on Arch Linux. Closes: zfsonlinux/zfs-auto-snapshot#4 Thanks: @bitloggerig Thanks: @scottj97 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 155e578..4b02b40 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ install: install -d $(DESTDIR)/etc/cron.hourly install -d $(DESTDIR)/etc/cron.weekly install -d $(DESTDIR)/etc/cron.monthly - install etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)/etc/cron.d/zfs-auto-snapshot + install -m 0644 etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)/etc/cron.d/zfs-auto-snapshot install etc/zfs-auto-snapshot.cron.hourly $(DESTDIR)/etc/cron.hourly/zfs-auto-snapshot install etc/zfs-auto-snapshot.cron.daily $(DESTDIR)/etc/cron.daily/zfs-auto-snapshot install etc/zfs-auto-snapshot.cron.weekly $(DESTDIR)/etc/cron.weekly/zfs-auto-snapshot