Some platforms (namely HP-UX) require the 'x' bit set for shared libraries.
authorLutz Jänicke <jaenicke@openssl.org>
Tue, 14 Nov 2000 11:05:10 +0000 (11:05 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Tue, 14 Nov 2000 11:05:10 +0000 (11:05 +0000)
For performance reasons, it is also recommended to make the (mmap'ed)
shared library 'read-only'.
-> New permissions for installed shared libraries = 555

This doesn't hurt anybody, provided the installation is performed with
'cp -f' :-)

Makefile.org

index 267cb3ad5d20705de8d692fabc9406f3a8972e4b..ca16ab09d5a3be80c7e29fc69e9572df1894c86e 100644 (file)
@@ -505,8 +505,8 @@ install: all install_docs
                do \
                        if [ -f "$$i" ]; then \
                        (       echo installing $$i; \
                do \
                        if [ -f "$$i" ]; then \
                        (       echo installing $$i; \
-                               cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
-                               chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
+                               cp -f $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
+                               chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
                        fi \
                done; \
                (       here="`pwd`"; \
                        fi \
                done; \
                (       here="`pwd`"; \