If the user has set umask 077 instead of the standard 022,
dpkg-buildpackage fails with:
chmod -x debian/tmp/etc/zfs/zfs-functions
chmod: debian/tmp/etc/zfs/zfs-functions: new permissions are rw-r-xr-x, not rw-r--r--
debian/rules:64: recipe for target 'override_dh_auto_install' failed
Signed-off-by: Lukas Wunner <lukas@wunner.de>
rm $${i}; \
done
- chmod -x $(CURDIR)/debian/tmp/etc/zfs/zfs-functions
- chmod -x $(CURDIR)/debian/tmp/etc/default/zfs
+ chmod a-x $(CURDIR)/debian/tmp/etc/zfs/zfs-functions
+ chmod a-x $(CURDIR)/debian/tmp/etc/default/zfs
override_dh_dkms:
dh_dkms -V $(VERSION)