make install fails as it tries to write in /tmp
Thibaut Appel
t.appel17 at imperial.ac.uk
Wed Oct 28 08:48:37 UTC 2020
Dear OpenSSL users,
I uncovered a potential issue affecting the installation of OpenSSL from
source, in the case the user is not allowed to write in the /tmp folder.
I'm trying to install on a cluster where permissions to '/tmp' is
restricted.
Is there an environment variable designed to tell 'make install' to NOT
use /tmp?
My $TMP environment variable points to a different folder. The result of:
./config
--prefix=/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h
make && make install
install libcrypto.a ->
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libcrypto.a
install libssl.a ->
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libssl.a
link
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libcrypto.so
->
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libcrypto.so.1.1
install libcrypto.so ->
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libcrypto.so
install libcrypto.so.1.1 ->
/rds/general/user/home/.linuxbrew/Cellar/openssl at 1.1/1.1.1h/lib/libcrypto.so
*mkdir: cannot create directory '/tmp/ar.12361': Permission denied*
make: *** [install_dev] Error 1
Is there something I'm missing? How can this be circumvented?
Thanks,
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20201028/d63a4586/attachment.html>
More information about the openssl-users
mailing list