Skip to content

Commit 45db196

Browse files
Fix setuid on OSX when you make install
Fix GNS3/gns3-gui#2167
1 parent f1f1dce commit 45db196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ all : $(NAME)
8383
ifeq ($(shell uname), Darwin)
8484
install : $(NAME)
8585
cp $(NAME) $(BINDIR)
86-
chmod 4755 $(BINDIR)/$(NAME)
87-
chown root $(BINDIR)/$(NAME)
86+
chown root:admin $(BINDIR)/$(NAME)
87+
chmod 4750 $(BINDIR)/$(NAME)
8888
else
8989
install : $(NAME)
9090
chmod +x $(NAME)

0 commit comments

Comments
 (0)