From: "Sean E. Russell" Date: 2004-04-30T12:58:38+09:00 Subject: Re: Bug in FileUtils - apathy or bad email --Boundary-02=_i7ckAKl0C6lqvAU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 29 April 2004 17:39, Warren Brown wrote: > I'm don't have a Ruby installation where I am right now, but it > looks like you are creating a symbolic link to the nonexistent directory > "../neighbor" instead of the directory you created "./neighbor". If so, > the error message looks correct. I don't know if your interpretation is correct. The fact that the link end= is=20 non-existant shouldn't preclude you from removing it. Put another way, if I do the same thing in a shell script, I get no errors: 121.162)~/tmp% mkdir fred 121.162)~/tmp% mkdir neighbor 121.162)~/tmp% ln -s ../neighbor fred/upandover 121.162)~/tmp% rm -rf fred 121.162)~/tmp%=20 I'd expect Ruby to work the same way, so I'd agree that this is a bug. By the way, it really shouldn't matter what "neighbor" is. This should als= o=20 work: Dir.mkdir("fred") FileUtils.ln_s("/non/existant/directory", "fred/foo" ) FileUtils.rm_rf( "fred" ) # Should still work =2D-=20 ### SER =20 ### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido ### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737=20 ### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg --Boundary-02=_i7ckAKl0C6lqvAU Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAkc7iP0KxygnleI8RAkcrAKCbn1Ss5dqdGdk9ypHr9kJCF/O9tACguQnI /IOHM6ek6lOlsduKTEVICMo= =6w2x -----END PGP SIGNATURE----- --Boundary-02=_i7ckAKl0C6lqvAU--