Date: Fri, 10 Aug 2001 08:29:07 -0700 From: Greg White <gregw-freebsd-stable@greg.cex.ca> To: FreeBSD-Stable <freebsd-stable@freebsd.org> Subject: Re: removing a symbolic link in 4.4-PRERELEASE Message-ID: <20010810082907.B44299@greg.cex.ca> In-Reply-To: <3B73BC3B.CE1192A8@trampisch.com>; from thorsten@trampisch.com on Fri, Aug 10, 2001 at 12:49:31PM %2B0200 References: <3B73BC3B.CE1192A8@trampisch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 10, 2001 at 12:49:31PM +0200, Thorsten Trampisch wrote: > Hi, > > after upgrading to 4.4-PRERELEASE via CVSup removing a symbolic link to > a directory > does not remove the link but the contents of the linked directory. > > Is this behavior a bug or why does it not work like I expected it to? It still works the same way I have become accustomed to in FreeBSD. Given that 'bar' is a symlink to 'foo': 1. rm -rf bar/ #Results in removal of foo and its contents 2. rm -rf bar #Results in removal of bar synlink. Not what I expected the first time I ran it, but apparently stock behaviour. Been this way since at least 4.1, when I switched from Linux to FreeBSD at home. What makes you think the semantics have changed for 4.4-PRE? -- Greg White To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010810082907.B44299>