From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 18:27:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 52B9116A41F for ; Sat, 17 Sep 2005 18:27:19 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDD4143D45 for ; Sat, 17 Sep 2005 18:27:18 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 531815E19; Sat, 17 Sep 2005 14:27:18 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95174-02; Sat, 17 Sep 2005 14:27:17 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-68-11.ny325.east.verizon.net [68.161.68.11]) by pi.codefab.com (Postfix) with ESMTP id E6D5D5C46; Sat, 17 Sep 2005 14:27:16 -0400 (EDT) Message-ID: <432C6008.90908@mac.com> Date: Sat, 17 Sep 2005 14:27:20 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ansar Mohammed References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: rm -rf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2005 18:27:19 -0000 Ansar Mohammed wrote: > Ok I am logged in as root, yet I cant delete /var/empty ( I get operation > not permitted). > > Any suggestions? Don't do that. /var/empty is used by SSH for privilege seperation, which means it should exist and not contain any files, which is enforced using the "system immutable" flag: 59-sec% ls -lod /var/empty drwx------ 2 root wheel schg 512 Jul 1 2002 /var/empty/ See "man chflags" for more information. -- -Chuck