bugfindutils - Bugs: bug #25933, (v. 4.5.4) "find . ! -user...

 
 

bug #25933: (v. 4.5.4) "find . ! -user myself" thinks I don't own the newly created file

Submitted by:  None
Submitted on:  Fri 20 Mar 2009 02:04:57 AM UTC  
Votes:  100  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Invalid
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: andrei zavadaOriginator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 02 Apr 2009 02:17:43 PM UTC, comment #4:

This is andrei zavada, the original submitter. Shoot me, I forgot my password...

I would like to confirm that findutils-4.5.4 now work fine, after a series of emerges in the while which apparently had set right some non-explicit dependencies. (Here's another reason not to cherry-pick what things to emerge but always go with emerge -a. Sorry for not observing this rule.)

Please close the bug, then.

Anonymous
Thu 02 Apr 2009 11:57:23 AM UTC, comment #3:

Thank you for your help James. findutils-4.5.4 has no patches applied in Gentoo.

That's said, after rebuild findutils-4.5.4 work so this bug is invalid, I suppose. Just for info This are toolchain packages I've build after findutils:

Wed Mar 18 10:57:14 2009 >>> sys-apps/findutils-4.5.4
Wed Mar 18 23:11:58 2009 >>> app-shells/bash-4.0_p10-r1
Wed Mar 18 23:32:29 2009 >>> sys-devel/binutils-2.19.1-r1
Thu Mar 19 02:57:12 2009 >>> sys-devel/gcc-4.3.3-r1
Thu Mar 19 03:43:52 2009 >>> sys-libs/glibc-2.9_p20081201-r2

At this point findutils haven't worked and another emerge:

Wed Mar 18 10:57:14 2009 >>> sys-apps/findutils-4.5.4

fixed them.

Peter Volkov <pva0xd>
Wed 01 Apr 2009 09:47:45 AM UTC, comment #2:

I have no idea how Gnetoo builds find or what patches are applied. Can you reproduce the problem if you build from the pristine GNU source release? I tried to reproduce the problem here but was not able to.

If you are able to reproduce the problem, could you provide a shell script which reliably reproduces the problem?

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 23 Mar 2009 03:12:17 PM UTC, comment #1:

And another looks very related problem:

find /usr/share/fonts/ -type f -a \! -perm 0644 -print

finds files which has permissions 0644... Should I report separate bug?

Peter Volkov <pva0xd>
Fri 20 Mar 2009 02:04:57 AM UTC, original submission:

findutils-4.5.4 in Gentoo in current state per submission date, with vanilla kernel 2.6.28.7, has the following inexplicable behaviour:

1. Do emerge =findutils-4.5.4.

2. Create a new file.

3. Do find . ! -user myself

3. find prints that file, although ls -l clearly says it is owned by me. Also, it reports as not owned by me some seemingly random other preexisting files.

Neither there are any inconsistencies in manipulating that file (i.e., I can write to it or delete it), nor doing chown myself:myself that_file affects subsequent find results. Reproducible on ext2, ext4 and XFS, on both i686 and x86_64.

The previous version (findutils-4.5.3) works just fine.

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)
  • -unavailable- added by pva0xd (Posted a comment)
  • -unavailable- added by pva0xd
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 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
    Fri 10 Apr 2009 12:10:18 PM UTCjayStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Wed 01 Apr 2009 09:47:45 AM UTCjayAssigned toNone=>jay
    Mon 23 Mar 2009 03:12:17 PM UTCpva0xdCarbon-Copy-=>Added pva0xd

    Back to the top


    Powered by Savane 3.1-cleanup1