Re: find(1) and group/user handling

2016-06-13 Thread David Holland
On Mon, Jun 13, 2016 at 06:00:52AM +0800, Paul Goyette wrote: > >For now though I've fixed it so -user and -group at least behave the > >same way. > > Thanks! > > Your earlier comments about user names not being allowed to start with a > plus or minus were informative. But what about grou

Re: find(1) and group/user handling

2016-06-12 Thread Paul Goyette
On Sun, 12 Jun 2016, David Holland wrote: On Sun, Jun 12, 2016 at 05:19:54PM +, David Holland wrote: > On Sun, Jun 12, 2016 at 08:10:27PM +0800, Paul Goyette wrote: > > In my opinion, the -user and -group primaries should work strictly with > > _names_, and _never_ fallback to {u,g}id valu

Re: find(1) and group/user handling

2016-06-12 Thread David Holland
On Sun, Jun 12, 2016 at 05:19:54PM +, David Holland wrote: > On Sun, Jun 12, 2016 at 08:10:27PM +0800, Paul Goyette wrote: > > In my opinion, the -user and -group primaries should work strictly with > > _names_, and _never_ fallback to {u,g}id values; we could easily add > > new primari

Re: find(1) and group/user handling

2016-06-12 Thread David Holland
On Sun, Jun 12, 2016 at 08:10:27PM +0800, Paul Goyette wrote: > In my opinion, the -user and -group primaries should work strictly with > _names_, and _never_ fallback to {u,g}id values; we could easily add > new primaries -uid and -gid to search for the numeric values. However, > this would

find(1) and group/user handling

2016-06-12 Thread Paul Goyette
WRT to your (kre's) PR bin/46158, I have to wonder ... Assume there is an entry in the password database for a username "123" but with uid value of 456. If find is invoked with '-user 123' should we match this pw entry and compare the file's numeric owner with 456? Or should find(1) treat an all