ports/79655: linux_base-8 fails to install as non-root
John Baldwin
jhb at FreeBSD.org
Thu Apr 7 21:00:19 UTC 2005
>Number: 79655
>Category: ports
>Synopsis: linux_base-8 fails to install as non-root
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 07 21:00:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: John Baldwin
>Release: 6.0-CURRENT
>Organization:
>Environment:
n/a
>Description:
The pre-install target is run as the user that invoked 'make install'. If this user is not root, they can't create files or directories under ${PREFIX}.
>How-To-Repeat:
>Fix:
Use pre-su-install instead:
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/emulators/linux_base-8/Makefile,v
retrieving revision 1.102
diff -u -r1.102 Makefile
--- Makefile 15 Mar 2005 05:25:17 -0000 1.102
+++ Makefile 6 Apr 2005 17:20:19 -0000
@@ -97,7 +97,7 @@
LINUX_ELF= 3
PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB}
-pre-install:
+pre-su-install:
#
# Handle the loading of the linux loadable kernel module if required.
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list