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

Submitter:  None
Submitted:  Fri 20 Mar 2009 02:04:57 AM UTC
Votes: 100
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Invalid
Privacy:  Public Assigned to:  jay
Originator Name:  andrei zavada Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by pva0xd (Posted a comment)
  • -email is unavailable- added by pva0xd
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-10 jay StatusNone Invalid
        Open/ClosedOpen Closed
    2009-04-01 jay Assigned toNone jay
    2009-03-23 pva0xd Carbon-Copy- Added pva0xd

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code