Skip to content

Commit

Permalink
Fix setuid on OSX when you make install
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed Jul 19, 2017
1 parent f1f1dce commit 45db196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ all : $(NAME)
ifeq ($(shell uname), Darwin)
install : $(NAME)
cp $(NAME) $(BINDIR)
chmod 4755 $(BINDIR)/$(NAME)
chown root $(BINDIR)/$(NAME)
chown root:admin $(BINDIR)/$(NAME)
chmod 4750 $(BINDIR)/$(NAME)
else
install : $(NAME)
chmod +x $(NAME)
Expand Down

0 comments on commit 45db196

Please sign in to comment.