On 2004-10-02 11:46, "Jacques A. Vidrine" <[EMAIL PROTECTED]> wrote: > > Will the next step be to prevent `rm -fr *' iff the current working > directory is '/' ? Please explain your answer. :-)
No. The fact * was passed is not visible to the running program. It's probably better to do this in the shell before it does the wildcard expansion, just like tcsh does. The "rm -fr / tmp/foo" case *is* visible to the running program though and is a lot easier to handle. I see a lot of people don't like the change, even though I made it default to off and controlled by an environment variable. There's no reason to keep pushing for it, then. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

