--- Makefile | 4 ++-- config.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile index 2bea555..d53171c 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,8 @@ install: all @echo installing executable file to ${DESTDIR}${PREFIX}/bin @mkdir -p ${DESTDIR}${PREFIX}/bin @cp -f slock ${DESTDIR}${PREFIX}/bin - @chmod 755 ${DESTDIR}${PREFIX}/bin/slock - @chmod u+s ${DESTDIR}${PREFIX}/bin/slock + @chgrp ${GROUP} ${DESTDIR}${PREFIX}/bin/slock + @chmod ${MODE} ${DESTDIR}${PREFIX}/bin/slock uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin diff --git a/config.mk b/config.mk index 8cc3f68..aee4b79 100644 --- a/config.mk +++ b/config.mk @@ -26,5 +26,5 @@ CC = cc # Install mode. On BSD systems MODE=2755 and GROUP=auth # On others MODE=4755 and GROUP=root -#MODE=2755 -#GROUP=auth +MODE=4755 +GROUP=root -- 1.8.5.2 (Apple Git-48)