Skip to content

Commit

Permalink
Fix file mode for installing non-suid binary
Browse files Browse the repository at this point in the history
Use the file mode 0755 (executable but not suid) when installing the binary
with INSTALL_UDEV_RULES=1.
  • Loading branch information
Miciah authored and Hummer12007 committed Sep 23, 2017
1 parent ba070ef commit 5c6ea40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c6ea40

Please sign in to comment.