Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 1998 12:26:26 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        cjclark@home.com
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, asami@FreeBSD.ORG
Subject:   Re: Appropriate Forum for Bug/Upgrade
Message-ID:  <19981130122626.D15989@scientia.demon.co.uk>
In-Reply-To: <199811300544.AAA01061@cc942873-a.ewndsr1.nj.home.com>
References:  <199811300544.AAA01061@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981130122626.D15989>