On Mon, 19 Mar 2001, Marc Schefer wrote:
> >         rm *
> > does *NOT* ask confirmation for its work!!! Just starts and delete all...
> > Could someone set alias rm="rm -i"? Thanks
> Yes, that could be dangerous. Since it's the default in M7.2 I'm used to
> relying on this safeguard and was surpised when I saw that it had been
> removed.
> Apparently it was removed along with all commands in /etc/skel/.bashrc
> (package etcskel) "to be able to do upgrade cleanly" (I'm quoting the
> changelog but I don't understand it).

Guess I'm partly to blame for this: I requested that /etc/skel/.bashrc
should contain virtually nothing because if it ever contains a bug, then
this bug will be propagated to all new users' ~/.bashrc files.  When the
package etcskel is upgraded, the (buggy) contents of ~/.bashrc will remain
(hence it's difficult to upgrade cleanly).

Maybe the old contents of /etc/skel/.bashrc should be moved to one of the
/etc/profile.d/ scripts - users can always override these with e.g. 

unset rm

in their personal ~/.bashrc files if they want to.

Michael



Reply via email to