From owner-freebsd-questions Sat Jan 18 6:15:24 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 5E89137B401 for ; Sat, 18 Jan 2003 06:15:23 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A62D43F18 for ; Sat, 18 Jan 2003 06:15:22 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003011814152100200mk2o4e>; Sat, 18 Jan 2003 14:15:21 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id h0IEFL3t068220 for ; Sat, 18 Jan 2003 09:15:21 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id h0IEFLSg068217; Sat, 18 Jan 2003 09:15:21 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied References: <1042873086.51041.480.camel@localhost> From: Lowell Gilbert Date: 18 Jan 2003 09:15:20 -0500 In-Reply-To: <1042873086.51041.480.camel@localhost> Message-ID: <44r8bav91j.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message