bugfindutils - Bugs: bug #23885, find does not treat duplicate...

 
 

bug #23885: find does not treat duplicate group names consistently

Submitted by:  None
Submitted on:  Fri 18 Jul 2008 09:55:00 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Wont Fix
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.27
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 17 Jan 2009 07:25:29 PM UTC, comment #3:

Nobody has responded on four months. Therefore I'm going ahead and closing the bug.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 31 Aug 2008 12:56:59 AM UTC, comment #2:

Now is the time to disagree, because if nobody objects I propose to close this bug (probably as "Won't fix") without changing the code...

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 19 Jul 2008 03:14:13 PM UTC, comment #1:

It's not clear to me that the convenience of supporting such arguably misconfigured systems could at all justify the performance impact of calling getgrgid() for every visited file with a previously-unseen gid.

These systems will in any case have other usability problems. One example would be inconsistency between the output of "groups" and the actual ability to access files which would at first and second glance appear to be group-readable.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 18 Jul 2008 09:55:00 PM UTC, original submission:

Suppose there exists a local group (in /etc/group) "users" with gid 100 and an NIS group of the same name but gid 200. Suppose that /etc/nsswitch.conf has

group: files nis

Then command #1 below will show files with either gid 100 or gid 200 as having group "users", but command #2 will show only those files with gid 100 (e.g. none, if they all have gid 200):

#1 find . -ls
#2 find . -group users

The problem may be more general; it may affect duplicate names wherever they occur and affect usernames as well as groups. There may be a similar problem for duplicate ids with different names.

The problem could be addressed by building a complete map of ids vs. names, or at least flagged by doing reverse-lookups (e.g. both getgrnam() and getgrgid()).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Jan 2009 07:25:29 PM UTCjayStatusNeed Info=>Wont Fix
      Assigned toNone=>jay
      Open/ClosedOpen=>Closed
    Sun 31 Aug 2008 02:24:29 PM UTCjayStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1