Commit Diff


commit - aff15c23653b4bbae656ed3075a7132b92107f73
commit + 55867e57a6f87ebc4f994e7a67a8aa31ba0ab44d
blob - d29e2121ecc02ed4606a1878eb0713e7be9d965a
blob + 05d9c0c4cd4088d749a7af9815166c15385efaa7
--- Makefile
+++ Makefile
@@ -21,5 +21,9 @@ install: lsblk
 	chmod 755 ${DESTDIR}${PREFIX}/sbin/lsblk
 	sed "s/@VERSION@/${VERSION}/" lsblk.8 > ${DESTDIR}${MANPREFIX}/man8/lsblk.8
 
+unroot:
+	chgrp operator ${DESTDIR}${PREFIX}/sbin/lsblk
+	chmod g+s ${DESTDIR}${PREFIX}/sbin/lsblk
+
 uninstall:
 	rm -f ${DESTDIR}${PREFIX}/sbin/lsblk ${DESTDIR}${MANPREFIX}/man8/lsblk.8