Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 22:26:42 -0700
From:      casey <casey@phantombsd.org>
To:        Glenn Dawson <glenn@antimatter.net>
Cc:        Xu Qiang <Qiang.Xu@fujixerox.com>, freebsd-questions@freebsd.org
Subject:   Re: undelete in FreeBSD?
Message-ID:  <42E5C992.5030307@phantombsd.org>
In-Reply-To: <6.1.0.6.2.20050725204649.100f4a50@cobalt.antimatter.net>
References:  <20050726024807.E825D1D936@imss.sgp.fujixerox.com> <6.1.0.6.2.20050725204649.100f4a50@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E5C992.5030307>