Skip to contentSkip to conversation

perf: tools: Install strace group definitions without executable bit

PATCH New Ben Hutchings 1 participant 1 message Oct 1, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: tools: Install strace group definitions without executable bit

The install command sets executable permission by default, but these definitions aren't executables.

---
 tools/perf/Makefile.perf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Makefile.perf +1 -1
index 91ef44bfaf3e..9d19cfaa79b0 100644
@@ -745,7 +745,7 @@ endif
 ifndef NO_LIBAUDIT
 	$(call QUIET_INSTALL, strace/groups) \
 		$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)'; \
-		$(INSTALL) trace/strace/groups/* -t '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)'
+		$(INSTALL) -m 644 trace/strace/groups/* -t '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)'
 endif
 ifndef NO_LIBPERL
 	$(call QUIET_INSTALL, perl-scripts) \