Subject: Re: Larger rm Change
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 01/09/2003 11:11:41
In article <1foieax.xdwxt41q3zbnuM@[10.0.12.137]>,
Emmanuel Dreyfus <manu@netbsd.org> wrote:
>> i believe that if i say "the file should *not* be deleted" by setting
>> a flag, that should have a higher value than "i used rm -rf to really
>> delete all the files".
>
>I beleive no user should be able to prevent root from deleting his files
>with uchg. If -ff is needed, we will end up with scripts that always
>have -ff, I'm not sure this is a good practice.
I prefer the ff or even -F to force removing the extra bits before unlinking.
There are places where this behavior is desired, and others where it is not,
so we must be able to choose what we mean from the command line.
christos