From owner-freebsd-questions Sat Jan 18 14:47:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D164737B401 for ; Sat, 18 Jan 2003 14:47:45 -0800 (PST) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D9F43F5B for ; Sat, 18 Jan 2003 14:47:45 -0800 (PST) (envelope-from stacey@vickiandstacey.com) Received: from [192.168.1.8] (81-86-129-77.dsl.pipex.com [81.86.129.77]) by shockwave.systems.pipex.net (Postfix) with ESMTP id 492EF16044669; Sat, 18 Jan 2003 22:47:38 +0000 (GMT) Subject: Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied From: Stacey Roberts Reply-To: stacey@vickiandstacey.com To: Dirk Meyer Cc: FreeBSD Questions In-Reply-To: References: <1042873086.51041.480.camel@localhost> <1042923053.51041.491.camel@localhost> Content-Type: text/plain Organization: Message-Id: <1042930062.51041.497.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 18 Jan 2003 22:47:43 +0000 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Dirk, On Sat, 2003-01-18 at 22:34, Dirk Meyer wrote: > Hallo Stacey Roberts, > > > > > ===> Cleaning for bind9-dlz-9.2.1+0.3.0 > > > > rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied > > > > *** Error code 1 > > > > > drwxr-xr-x 3 root wheel 512 Jan 17 20:11 . > > > > -rw-r--r-- 1 root wheel 71 Jan 17 20:11 Makefile.inc > > > No, I didn't forget, nor do I know anything about doing this. I have > > been keeping the ports tree the same way since FreeBSD 4.3 Rel, and have > > always been able to run "make clean" in /usr/ports as an ordinary user - > > except over the last few days. > > I see ..., > but someone called as root the net/bind9-dlz/Makefile > and created the configuration "Makefile.inc". I do understand this. The permissions on this file is the same as for all the other components of other ports before this particular port, yet "make clean" only fails at this same point, ever since I cvsup'd the ports tree a couple of days ago. > > As it has been created as root you can't remove it as user. > cause the dir is writeable by root only. > If you extract as root, you can't clean any port as a user. > See above. > kind regards Dirk I know other tools like "portsdb -U" & "make index" are (have been) broken for some time now, and I'm hoping that the same way they got broke, will be how the get "fixed" mysteriously in due course.., Although, I have to admit., "portsdb -U" has been broken for months now, with no sign of a let up :-( Thanks for taking the time. Regards, Stacey > > - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany > - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message