aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miciah Masters <miciah.masters@gmail.com>2017-09-22 19:38:17 -0400
committerGravatar Hummer12007 <hilobakho@gmail.com>2017-09-23 18:08:12 +0300
commit5c6ea405ef056d5bfa58ed928f62405b97fea1b8 (patch)
tree9e5cf531b4fc49ac25daf7642787828240d42644
parentba070ef1f2eb86fbc4fe396e1267df3905c78cfe (diff)
Fix file mode for installing non-suid binary
Use the file mode 0755 (executable but not suid) when installing the binary with INSTALL_UDEV_RULES=1.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f23928..1e2ee50 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ INSTALL_UDEV_1 = install_udev_rules
UDEVDIR ?= /lib/udev/rules.d
MODE_0 = 4711
-MODE_1 = 0644
+MODE_1 = 0755
MODE = ${MODE_${INSTALL_UDEV_RULES}}
all: brightnessctl