L A Walsh wrote:
Maybe the install should check to see
if it is root before setting a SUID bit on the executable?
Maybe this can be applied to source tree sometime before nxt release?
Won't help if you are running the make as 'root', but at least
it will flag an error when you try to "make install" it...
tnx,
-l
-----
--- Makefile.in 2017-05-23 03:21:36.000000000 -0700
+++ Makefile.in 2017-06-06 10:09:12.318352218 -0700
@@ -12332,7 +12332,9 @@
@BUILD_SETARCH_TRUE@ done
@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@install-exec-hook-mount:
+@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chown root:root
$(DESTDIR)$(bindir)/mount
@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755
$(DESTDIR)$(bindir)/mount
+@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chown root:root
$(DESTDIR)$(bindir)/umount
@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755
$(DESTDIR)$(bindir)/umount
@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@install-data-hook-bashcomp-runuser::
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html