Patch - login/Makefile

Greg Schafer gschafer@zip.com.au
Thu Dec 13 01:54:00 GMT 2001


Hello

Just a tiny one. When installing from scratch into a clean
chroot environment the system isn't able to figure out who
user 'root' is resulting in the failure to install the
pt_chown program.

Assuming of course that user "root" is always id 0 ?

Thanks
Greg
-------------- next part --------------
diff -uNr libc.orig/login/Makefile libc/login/Makefile
--- libc.orig/login/Makefile	Fri Jul  6 14:55:34 2001
+++ libc/login/Makefile	Thu Dec 13 14:44:56 2001
@@ -55,7 +55,7 @@
 # pt_chown needs to be setuid root.
 $(inst_libexecdir)/pt_chown: $(objpfx)pt_chown $(+force)
 	$(make-target-directory)
-	-$(INSTALL_PROGRAM) -m 4755 -o root $< $@
+	-$(INSTALL_PROGRAM) -m 4755 -o 0 $< $@
 
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by


More information about the Libc-alpha mailing list