Date: Mon, 30 Nov 1998 18:51:08 -0600 From: David Kelly <dkelly@hiwaay.net> To: freebsd-questions@FreeBSD.ORG Cc: asami@FreeBSD.ORG Subject: Re: Appropriate Forum for Bug/Upgrade Message-ID: <199812010051.SAA03832@n4hhe.ampr.org> In-Reply-To: Message from Ben Smithurst <ben@scientia.demon.co.uk> of "Mon, 30 Nov 1998 12:26:26 GMT." <19981130122626.D15989@scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Ben Smithurst writes: > How about something like this: (this message CC'd to asami since he > seems to handle the ports, etc) > > --- bsd.port.mk Sat Nov 28 00:46:21 1998 > +++ bsd.port.mk Mon Nov 30 12:22:03 1998 > @@ -1194,6 +1194,11 @@ > do-fetch: > @${MKDIR} ${_DISTDIR} > @(cd ${_DISTDIR}; \ > + if [ ! -w ${_DISTDIR} ]; then \ > + echo "You don't have write permission to ${_DISTDIR}"; \ > + echo "Try using 'su' to become root and try again"; \ > + exit 1; \ > + fi; \ > for file in ${DISTFILES}; do \ > if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \ > if [ -h $$file -o -h `${BASENAME} $$file` ]; then \ I would delete the line containing, "Try using 'su' to become root and try again", as it implies the use of brute force (root force?) is a valid solution to all ills. This is how I solve the problem: n4hhe: {1027} ls -ld /usr/ports/ /usr/ports/distfiles/ drwxrwxr-x 46 dkelly wheel 1024 Nov 29 22:42 /usr/ports// drwxrwxr-x 8 dkelly wheel 3584 Nov 16 17:32 /usr/ports/distfiles// n4hhe: {1028} -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812010051.SAA03832>