Skip to content

Commit d5cb31a

Browse files
committed
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: #4 Thanks: @bitloggerig Thanks: @scottj97
1 parent 1ce7268 commit d5cb31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ install:
88
install -d $(DESTDIR)/etc/cron.hourly
99
install -d $(DESTDIR)/etc/cron.weekly
1010
install -d $(DESTDIR)/etc/cron.monthly
11-
install etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)/etc/cron.d/zfs-auto-snapshot
11+
install -m 0644 etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)/etc/cron.d/zfs-auto-snapshot
1212
install etc/zfs-auto-snapshot.cron.hourly $(DESTDIR)/etc/cron.hourly/zfs-auto-snapshot
1313
install etc/zfs-auto-snapshot.cron.daily $(DESTDIR)/etc/cron.daily/zfs-auto-snapshot
1414
install etc/zfs-auto-snapshot.cron.weekly $(DESTDIR)/etc/cron.weekly/zfs-auto-snapshot

0 commit comments

Comments
 (0)