Subject: Building in the source tree as a non-root user
To: None <netbsd-users@netbsd.org>
From: Ian P. Thomas <ipthomas@mac.com>
List: netbsd-users
Date: 08/11/2004 15:03:04
I'm having trouble updating openssl. My entire source tree,
'usr/src', is owned by me, but I'm still not able to perform the
following step as a non-root user. I'm building on the latest 1-6
sources.
/usr/src/lib/libcrypto % make USETOOLS=no cleandir dependall
I've added the error message that occurs below.
install -r -c -o root -g wheel -m 444
/usr/src/lib/libcrypto/../../crypto/dist/openssl/crypto/opensslv.h
/usr/include/openssl/opensslv.h
install: /usr/include/openssl/inst.09999a: mkstemp: Permission denied
*** Error code 1
Stop.
make: stopped in /usr/src/lib/libcrypto
*** Error code 1
Stop.
make: stopped in /usr/src/lib/libcrypto
Is this caused by the fact that install(1) attempts to install the
temporary file as owner 'root' and group 'wheel'? I'm trying to limit
the amount of things I need to do on the system as 'root'. My
understanding was that I would only need to run the last step as
'root'.
/usr/src/lib/libcrypto % make USETOOLS=no install
Further clarification needed.
Ian P. Thomas