On Sun, Nov 07, 1999 at 09:21:06PM -0700, Erik Andersen wrote: > On Sun Nov 07, 1999 at 01:36:57AM +0100, Marcel Harkema wrote: > > Hi, > > > > The 'rm' command of busybox follows links... this probably isn't a > > feature? :) > Hmm. I'm not seeing the problem. [snip] Sorry, I should've investigated a bit more (it was late ;). Anyway, it only occurs when the file the symlink points to doesn't exist. A typescript log is attached. So the rephrase the bug report: rm can only remove symlinks when the symlink path is a valid one. Hth, Marcel Please send a Cc to me when replying to me on this mailinglist.
{14:14/p4} marcel@ballistix boot-floppies/utilities/busybox > cat typescript Script started on Mon Nov 8 14:12:24 1999 {14:12/pf} marcel@ballistix boot-floppies/utilities/busybox > ln -s foo bar {14:12/pf} marcel@ballistix boot-floppies/utilities/busybox > ls -lad foo bar ls: foo: No such file or directory lrwxrwxrwx 1 marcel staff 3 Nov 8 14:12 bar -> foo {14:12/pf} marcel@ballistix boot-floppies/utilities/busybox > ./rm bar <--- here bar: No such file or directory {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ls -lad foo bar ls: foo: No such file or directory lrwxrwxrwx 1 marcel staff 3 Nov 8 14:12 bar -> foo {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > touch foo {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ./rm bar {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ls -lad foo bar ls: bar: No such file or directory -rw-r--r-- 1 marcel staff 0 Nov 8 14:13 foo {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ./rm foo {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ls -lad foo bar ls: foo: No such file or directory ls: bar: No such file or directory From debian-powerpc-request@lists.debian.org Mon Nov 8 14:12:11 1999 Subject: Re: what about potato boot-floppies for powerpc/apus ? Folder: lists/debian-powerpc 2534 From debian-devel-changes-request@lists.debian.org Mon Nov 8 14:12:48 1999 Subject: Uploaded gs 5.10-3 (source i386) to master Folder: lists/debian-devel-changes 2207 Mailmon: 2 new mail messages - all from mailinglists. {14:13/pf} marcel@ballistix boot-floppies/utilities/busybox > ^D Script done on Mon Nov 8 14:13:30 1999
Attachment:
pgpulBKsg_ryD.pgp
Description: PGP signature