From owner-freebsd-questions Mon Nov 4 6:57:21 2002 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 9BBC037B401 for ; Mon, 4 Nov 2002 06:57:20 -0800 (PST) Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB94543E77 for ; Mon, 4 Nov 2002 06:57:19 -0800 (PST) (envelope-from leblanc@mirror-image.net) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id JAA07689 for ; Mon, 4 Nov 2002 09:57:09 -0500 Received: from leblanc.mirrorimage.net (localhost [127.0.0.1]) by leblanc.mirrorimage.net (8.12.3/8.11.4) with ESMTP id gA4Ev3mj054002 for ; Mon, 4 Nov 2002 09:57:03 -0500 (EST) (envelope-from leblanc@leblanc.mirrorimage.net) Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.12.3/8.12.3/Submit) id gA4Ev2TA054001 for freebsd-questions@FreeBSD.org; Mon, 4 Nov 2002 09:57:02 -0500 (EST) Date: Mon, 4 Nov 2002 09:57:02 -0500 From: Louis LeBlanc To: FreeBSD Questions Subject: non-writeable directory - can't be removed Message-ID: <20021104145702.GB46132@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i 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 Hey all. I'm trying to get some temp files cleaned out, and the one giving me trouble is /tmp/temproot/var/empty/ The empty directory is in fact empty, but the ownership and permissions seem to make it impossible to remove it. I've tried rm -rf, rm -df, and rmdir all as root, but all I get is: # rm -df empty/ rm: empty/: Operation not permitted Same thing happens when I try to change the permissions. The permissions look like this: dr-xr-xr-x 2 root wheel 512 Aug 31 22:55 empty Any idea how I can get rid of it? And the associated directory, /var/empty has the same permissions, and is also empty. Is it a necessary directory? Seems to me any directory with no write permissions at all is pretty much useless. BTW, I'm running 4.6.2-RELEASE #5 TIA Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ I object to intellect without discipline; I object to power without constructive purpose. -- Spock, "The Squire of Gothos", stardate 2124.5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message