Re: chflags -RL and symlinks pointing outside the traversal: preserve behavior or add a Capsicum guardrail?

From: Alan Somers <asomers_at_freebsd.org>
Date: Sun, 23 Aug 2026 19:22:26 UTC
On Sat, Aug 22, 2026 at 4:49 AM Oliver Pinter <oliver.pntr@gmail.com> wrote:
>
>
>

We just committed the chflags changes.  Now, with -RL, chflags will
not follow symbolic links that point outside of directories named on
the command line.  The requested "chicken switch" is a
--dereference-links-unsafely command line option.  Thanks to everybody
who provided input.  And please don't hesitate to report any problems
that you find.