Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2008 11:38:13 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        gavin@freebsd.org
Cc:        freebsd-bugs@freebsd.org, freebsd.20.skel@spamgourmet.org
Subject:   Re: bin/116477: rm(1): rm behaves unexpectedly when using -r and relative paths
Message-ID:  <20080628113326.Y89027@delplex.bde.org>
In-Reply-To: <200806271353.m5RDrSHq036920@freefall.freebsd.org>
References:  <200806271353.m5RDrSHq036920@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Jun 2008 gavin@freebsd.org wrote:

> So, it looks like Solaris now behaves in the same way FreeBSD does in this
> case, which (along with bde@'s analysis) suggests to me that the current
> behaviour is correct.
>
> Submitter: do you still believe this to be incorrect, or can I close the PR?

Didn't I analyze that something needs to be done (since POSIX requires
slightly different behaviour)?

POSIX is tightening up the wording for symlinks.  There was some
discussion closely related points on the POSIX mailing list not long
after the PR was submitted.  IIRC, POSIX generally agrees with the
FreeBSD interpretation that a trailing slash causes symlinks to be
followed, and might need to change the wording in places that say
otherwise.  I forget the details and haven't checked for changes in
documents.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080628113326.Y89027>