bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Following symlinks in globstar


From: Chris Down
Subject: Re: Following symlinks in globstar
Date: Tue, 21 Jan 2014 19:30:53 +0800
User-agent: Mutt/1.5.22 (2013-10-16)

On Thu, 1 Aug 2013 13:02:31 +0200, Chris Down wrote:
> As we're probably all aware, `globstar' follows symlinks when doing
> recursive traversal. Is it possible to, at some future version, have
> an option that enables/disables (I guess enables by default for
> backwards compatibility) following symlinks? This can be quite
> irritating when trying to traverse procfs filesystems especially.

It's been nearly half a year since I sent this (as yet unreplied to)
message, and I still wonder what people's thoughts are on having some
path to better globstar modularity.

I still think the best path is to avoid breaking backwards
compatibility, and to provide a shell option to disable globstar
traversing symlinks.

Another option is to break backwards compatibility and do the (arguably)
more logically expected thing by having ** not traverse symlinks, and
*** traverse symlinks. That's what a few people I know propose, but I
think it is quite probably that the symlink-traversing properties of **
are used in production now.

I am not so worried about the method used to "fix" globstar -- whether
we keep backwards compatibility or not -- I am more concerned that we
have at least *some* way of disabling what many people view as
undesirable behaviour.

Attachment: pgpQTKJzHm4lF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]