From owner-freebsd-questions Mon Nov 30 08:38:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13410 for freebsd-questions-outgoing; Mon, 30 Nov 1998 08:38:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13385; Mon, 30 Nov 1998 08:38:52 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #3) id 0zkSPK-0004Dp-00; Mon, 30 Nov 1998 12:26:26 +0000 Date: Mon, 30 Nov 1998 12:26:26 +0000 From: Ben Smithurst To: cjclark@home.com Cc: FreeBSD Questions , asami@FreeBSD.ORG Subject: Re: Appropriate Forum for Bug/Upgrade Message-ID: <19981130122626.D15989@scientia.demon.co.uk> References: <199811300544.AAA01061@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199811300544.AAA01061@cc942873-a.ewndsr1.nj.home.com> User-Agent: Mutt/0.94.17i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Crist J. Clark wrote: > >> Attempting to fetch from ftp://ftp.gwdg.de/pub/linux/staroffice/. > fetch: StarOffice31-common.tar.gz: Permission denied > >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//. > fetch: StarOffice31-common.tar.gz: Permission denied [...] > Also, what's the > point of trying to download it twice? If it didn't work the first > time, it ain't gonna work the second. You'll notice it fetched from two different sites. The ports system will assume it was a server specific failure, and try the next server. 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 \ -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message