From owner-freebsd-questions Sat Jan 18 12:46:25 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 CA0D337B405 for ; Sat, 18 Jan 2003 12:46:23 -0800 (PST) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A60B343EB2 for ; Sat, 18 Jan 2003 12:46:22 -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 2EEEE16038214; Sat, 18 Jan 2003 20:46:15 +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: Lowell Gilbert Cc: FreeBSD Questions In-Reply-To: <44r8bav91j.fsf@be-well.ilk.org> References: <1042873086.51041.480.camel@localhost> <44r8bav91j.fsf@be-well.ilk.org> Content-Type: text/plain Organization: Message-Id: <1042922778.51041.485.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 18 Jan 2003 20:46:19 +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 Hello, On Sat, 2003-01-18 at 14:15, Lowell Gilbert wrote: > Stacey Roberts writes: > > > This is what the permissions looks like in this ports dir: > > > > /usr/ports/net/bind9-dlz $ ls -la > > total 30 > > drwxr-xr-x 3 root wheel 512 Jan 17 20:11 . > > drwxr-xr-x 647 root wheel 12288 Jan 17 19:30 .. > > -rw-r--r-- 1 root wheel 6551 Jan 16 16:40 Makefile > > -rw-r--r-- 1 root wheel 71 Jan 17 20:11 Makefile.inc > > -rw-r--r-- 1 root wheel 117 Nov 17 21:43 distinfo > > drwxr-xr-x 2 root wheel 512 Jan 17 19:29 files > > -rw-r--r-- 1 root wheel 55 Aug 30 16:53 pkg-comment > > -rw-r--r-- 1 root wheel 236 Aug 30 16:53 pkg-descr > > -rw-r--r-- 1 root wheel 4990 Aug 30 16:53 pkg-plist > > /usr/ports/net/bind9-dlz $ > > > > Is this what its supposed to be? Let me know what's to be done, or if > > its safe to change the permissions for myself without breaking other > > stuff. > > Everything looks okay. Assuming you're doing this as root, the > problem must be some kind of flag set on the file. Use 'ls -ol' > to display the flags, and if one is set, clear it with chflags(1). I didn't (never had to) run the make clean in /usr/ports as root. Here's what ls -lo returns for that port: /usr/ports/net/bind9-dlz $ ls -lo total 17 -rw-r--r-- 1 root wheel - 6551 Jan 16 16:40 Makefile -rw-r--r-- 1 root wheel - 71 Jan 17 20:11 Makefile.inc -rw-r--r-- 1 root wheel - 117 Nov 17 21:43 distinfo drwxr-xr-x 2 root wheel - 512 Jan 17 19:29 files -rw-r--r-- 1 root wheel - 55 Aug 30 16:53 pkg-comment -rw-r--r-- 1 root wheel - 236 Aug 30 16:53 pkg-descr -rw-r--r-- 1 root wheel - 4990 Aug 30 16:53 pkg-plist /usr/ports/net/bind9-dlz $ Nothing appears strange here to me. What could be wrong? Regards, Stacey > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 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