Date: Fri, 31 Jan 2003 15:18:35 -0500 From: Bill Moran <wmoran@potentialtech.com> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: bastill@adam.com.au, Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Ooops. Message-ID: <3E3ADA1B.5020304@potentialtech.com> References: <005601c2c8c5$47735b10$6501a8c0@grant> <1043981504.3e39e4c0b6e66@webmail.adam.com.au> <44znpinhl7.fsf@be-well.ilk.org> <1043983614.3e39ecfecd509@webmail.adam.com.au> <20030131201357.GA18381@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: >>Unfortunately, rm -rf home removed home from the source /usr >>directory as well! :-( I presume that this was due to /home being >>a symlink to /usr/home, and somehow that link remained, so that -r >>referred to everything below the symlink as well as to the directory >>I was trying to remove. >> >>Whatever the explanation, IMHO rm -r should NOT do this by default. > > > As far as I know, it doesn't. You should show use a minimal set of > commands that reproduces the bug. This will help anyone with a bit of > C knowledge to track it down in the rm(1) source and fix it. I've been quietly following this thread since it started and ... I can't reproduce this behaviour. I've created and deleted I don't know how many test directories and symlinks and I can't get it to do what you're claiming it did. He's absolutely correct. Without the _exact_ command that you used, it's going to be very hard to figure out what went wrong. Are you using a shell that keeps a command history (i.e. bash)? If so, can you get us the exact command that you issued? -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E3ADA1B.5020304>