Re: ls -R bug?

2020-07-04 Thread Greg Thomas
Man, it goes to show you that with complex systems it's still worth reporting potential bugs even with heavily used utilities. On Sat, Jul 4, 2020 at 2:23 PM Brian Brombacher wrote: > > > On Jul 4, 2020, at 3:10 PM, Brian Brombacher > wrote: > > > > Hmm... > > > > /bin/ls, a utility that has e

Re: ls -R bug?

2020-07-04 Thread Ottavio Caruso
On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: > > Hi, > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden" directories like .git, > whereas GNU coreutils will not, is this expected behaviour or a bug? > Funny, because this seems

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
> On Jul 4, 2020, at 3:10 PM, Brian Brombacher wrote: > > Hmm... > > /bin/ls, a utility that has existed since 1960’s. > > This is not a bug. > > https://en.m.wikipedia.org/wiki/Ls > Please disregard this poor advice. Obviously this isn’t the 1960’s and it ain’t the same code :) There

Re: ls -R bug?

2020-07-04 Thread Richard Ipsum
On Sat, Jul 04, 2020 at 02:16:29PM -0600, Todd C. Miller wrote: > On Sat, 04 Jul 2020 20:59:08 +0200, Richard Ipsum wrote: > > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > > OpenBSD ls -R will apparently list "hidden" directories like .git, > > whereas GNU coreutils will

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
I’ll be explicit. Did the OP run ls(1) as superuser? See -A flag in man ls We have no idea. > On Jul 4, 2020, at 3:44 PM, Brian Brombacher wrote: > >  > >>> On Jul 4, 2020, at 3:38 PM, Ottavio Caruso >>> wrote: >>> >>> On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >>> >>> Hi, >>>

Re: ls -R bug?

2020-07-04 Thread Todd C . Miller
On Sat, 04 Jul 2020 20:59:08 +0200, Richard Ipsum wrote: > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden" directories like .git, > whereas GNU coreutils will not, is this expected behaviour or a bug? I think this is actually a bug.

Re: ls -R bug?

2020-07-04 Thread Stuart Henderson
On 2020-07-04, Ottavio Caruso wrote: > On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >> >> Hi, >> >> Output of ls -R between OpenBSD and GNU coreutils seems to differ, >> OpenBSD ls -R will apparently list "hidden" directories like .git, >> whereas GNU coreutils will not, is this expected beh

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
> On Jul 4, 2020, at 3:38 PM, Ottavio Caruso > wrote: > > On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >> >> Hi, >> >> Output of ls -R between OpenBSD and GNU coreutils seems to differ, >> OpenBSD ls -R will apparently list "hidden" directories like .git, >> whereas GNU coreutils wil

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
Hmm... /bin/ls, a utility that has existed since 1960’s. This is not a bug. https://en.m.wikipedia.org/wiki/Ls > On Jul 4, 2020, at 3:02 PM, Richard Ipsum wrote: > > Hi, > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden" dire

ls -R bug?

2020-07-04 Thread Richard Ipsum
Hi, Output of ls -R between OpenBSD and GNU coreutils seems to differ, OpenBSD ls -R will apparently list "hidden" directories like .git, whereas GNU coreutils will not, is this expected behaviour or a bug? Thanks, Richard