Skip to content

Commit

Permalink
Update Install Perms in Makefile (#204)
Browse files Browse the repository at this point in the history
557 seems like a dangerous permission string for these files, maybe 755 and 644 would be better?
  • Loading branch information
djeis97 authored Nov 3, 2023
1 parent ae67800 commit eb9cb2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ test-main: $(NON_TEST_FILES) $(MAIN_TEST_FILES)
go test ./...

install: binary
install -m 557 cmd/dcgm-exporter/dcgm-exporter /usr/bin/dcgm-exporter
install -m 557 -D ./etc/default-counters.csv /etc/dcgm-exporter/default-counters.csv
install -m 557 -D ./etc/dcp-metrics-included.csv /etc/dcgm-exporter/dcp-metrics-included.csv
install -m 755 cmd/dcgm-exporter/dcgm-exporter /usr/bin/dcgm-exporter
install -m 644 -D ./etc/default-counters.csv /etc/dcgm-exporter/default-counters.csv
install -m 644 -D ./etc/dcp-metrics-included.csv /etc/dcgm-exporter/dcp-metrics-included.csv

check-format:
test $$(gofmt -l pkg | tee /dev/stderr | wc -l) -eq 0
Expand Down

0 comments on commit eb9cb2c

Please sign in to comment.