If you install the lang/cmucl port as a regular (non-root) user, the final permissions on many files are incorrect. The distfile is un-tar(1)ed by the regular user, inheriting his permissions. The 'install' target however uses tar(1) to copy many files to the final destination in ${PREFIX}. The regular user permissions are also transfered to the destination. Fix: Instead of using tar(1) to copy the files use cpio(1). An example can be seen in www/mozilla/Makefile: do-install: ${MKDIR} ${PREFIX}/lib/${MOZILLA} ${CHMOD} 755 ${PREFIX}/lib/${MOZILLA} cd ${WRKSRC}/dist/bin && ${FIND} . | \ ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA} cpio(1)'s "-R" option specifies the owner:group that will be used at the destination. How-To-Repeat: As a regular user: . cd /usr/ports/lang/cmucl . make install <you will be asked for root password; enter it> . pkg_info -L cmucl-18e | grep local | xargs ls -l (Assuming the files are put into /usr/local; hence the local.) After the last command you'll see files both owned by root, and by the regular user who ran the 'make install'.
State Changed From-To: open->closed Fixed as suggested. Thanks!