tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

INSTALL_LIB: executable bit is set on non-executable file



I have noticed that using ${INSTALL_LIB} to install a package-provided library generates the "executable bit is set on non-executable file" error message.  Here is the relevant bit from mk/bsd.pkg.mk:

INSTALL_LIB?= 		\
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
INSTALL_DATA?= 		\
	${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE}

Should it be using ${SHAREOWN} and ${SHAREGRP} as INSTALL_DATA does?  Is there any reason that libs should ever have execute permission?

Cheers,
Brook



Home | Main Index | Thread Index | Old Index