From owner-freebsd-questions@FreeBSD.ORG Tue Jul 26 05:26:46 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 0D7A816A41F for ; Tue, 26 Jul 2005 05:26:46 +0000 (GMT) (envelope-from casey@phantombsd.org) Received: from phantombsd.org (dsl231-036-158.sea1.dsl.speakeasy.net [216.231.36.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926F143D46 for ; Tue, 26 Jul 2005 05:26:45 +0000 (GMT) (envelope-from casey@phantombsd.org) Received: by phantombsd.org (Postfix, from userid 1004) id DD89B102E6E; Mon, 25 Jul 2005 22:26:44 -0700 (PDT) Received: from [192.168.1.6] (tomcat.phantombsd.org [192.168.1.6]) by phantombsd.org (Postfix) with ESMTP id CE718102C2C; Mon, 25 Jul 2005 22:26:42 -0700 (PDT) Message-ID: <42E5C992.5030307@phantombsd.org> Date: Mon, 25 Jul 2005 22:26:42 -0700 From: casey User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Glenn Dawson References: <20050726024807.E825D1D936@imss.sgp.fujixerox.com> <6.1.0.6.2.20050725204649.100f4a50@cobalt.antimatter.net> In-Reply-To: <6.1.0.6.2.20050725204649.100f4a50@cobalt.antimatter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on eagle.phantombsd.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 Cc: Xu Qiang , freebsd-questions@freebsd.org Subject: Re: undelete in FreeBSD? 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: Tue, 26 Jul 2005 05:26:46 -0000 Glenn Dawson wrote: > At 07:51 PM 7/25/2005, Xu Qiang wrote: > >> I am just wondering the only shortcoming of Unix clone, such as >> FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from >> which you can restore anything you have mis-deleted before. >> >> Or, am I mis-informed on this issue? > > > If you're really worried about accidently deleting files, just make rm > an alias to 'rm -i' or 'rm -I' > > -Glenn > > >> Regards, >> Xu Qiang >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Also check out chflags. Under certain security levels, you can set flags so that something can not be deleted even as root. Casey