From: Daniel Hahler Date: Wed, 2 Dec 2015 11:43:19 +0000 (+0100) Subject: The 40autorandr script needs to be executable for udev X-Git-Tag: 1.0~38^2 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=4597a78e6ac200a4ce718ac664fb9ba7e5f482df The 40autorandr script needs to be executable for udev Otherwise it will not be executed: … systemd-udevd[32358]: failed to execute '/etc/pm/sleep.d/40autorandr' '/etc/pm/sleep.d/40autorandr thaw': Permission denied … systemd-udevd[32355]: Process '/etc/pm/sleep.d/40autorandr thaw' failed with exit code 2. --- diff --git a/Makefile b/Makefile index 8eb12e6..42ee710 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ DEFAULT_TARGETS+=pmutils endif install_pmutils: - install -D -m 644 contrib/pm-utils/40autorandr ${DESTDIR}/etc/pm/sleep.d/40autorandr + install -D -m 755 contrib/pm-utils/40autorandr ${DESTDIR}/etc/pm/sleep.d/40autorandr uninstall_pmutils: rm -f ${DESTDIR}/etc/pm/sleep.d/40autorandr