[14844] in Kerberos

home help back first fref pref prev next nref lref last post

Re: failing make install on Solaris

daemon@ATHENA.MIT.EDU (Mitchell E Berger)
Tue Jul 31 13:55:44 2001

Message-Id: <200107311748.NAA05341@byte-me.mit.edu>
To: "Don Fike" <fike@cs.utk.edu>
cc: "Tom Yu" <tlyu@mit.edu>, kerberos@mit.edu
In-Reply-To: Your message of "Tue, 31 Jul 2001 13:28:17 EDT."
             <IPEFLHCJHDFGJPLCNMHLIEHKCLAA.fike@cs.utk.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 31 Jul 2001 13:48:05 -0400
From: Mitchell E Berger <mitchb@MIT.EDU>

> I am running the install as myself, not root.  I have a feeling this line is
> what causes the error;
> 
> 
> if test -n "$f" ; then  /usr/local/gnu/bin/install -c -s -m 4755 -o root $f

You are correct that this line is the one causing you problems, but the line itself is correct.  You must run 'make install' as root.  The reason this is failing for you is that make is attempting to change the file's owner to root and install it as a setuid program.  You can neither chown a file nor enable the setuid bit on a file you don't own (this is what it means when it says that you're not the owner).

Mitch


home help back first fref pref prev next nref lref last post