bugfindutils - Bugs: bug #25144, Misleading error message when...

 
 

bug #25144: Misleading error message when argument to -user is an unknown user or is missing

Submitted by:  None
Submitted on:  Sun 21 Dec 2008 04:23:48 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Tom BroadhurstOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.4.0
Fixed Release: 4.5.4

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 23 Dec 2008 11:05:40 AM UTC, comment #5:

I've checked the fix in, it will be included in the next 4.5.x release.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 22 Dec 2008 10:30:08 AM UTC, comment #4:

I am unable to reproduce the other problem you mention, nonexistence of the "santaclaus" user. Perhaps your user database is misconfigured - you should definitely fix that in the next couple of days.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 21 Dec 2008 11:58:51 PM UTC, comment #3:

James,

Good job.

This definitely makes the command more "user" friendly.

Thanks for the amazingly quick response.

Tom

Anonymous
Sun 21 Dec 2008 09:16:19 PM UTC, comment #2:

I believe the attached patch should fix your problem; please let me know if you agree.

(file #17109)

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 21 Dec 2008 05:49:50 PM UTC, comment #1:

To all interrested persons,

I finally found the reason for the error.

The "user" doesn't exist!

I'd like to change this bug report to a Feature Request.

The reply to 'find / -user santaclaus'

should be 'find: user unknown' or something similar.

Anonymous
Sun 21 Dec 2008 04:23:48 PM UTC, original submission:

The find command doesn't like the users adm, news or gopher.
This is a Fedora 10 system w/kernel 2.6.27.7-134.fc10.i686

The command and it's return:

find / -user adm -print
find: invalid argument `-print' to `-user'

it thinks -print is an argument to -user and doesn't even see adm.

and without the -print option:

find / -user adm
find: missing argument to `-user'

it still doesn't see adm.

Using " or ' around the user name doesn't help.
The same find command works with all of the other "users" i've tried.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Updated the item)
  • -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 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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jul 2009 10:02:11 PM UTCjayOpen/ClosedOpen=>Closed
    Mon 06 Jul 2009 10:01:05 PM UTCjayFixed ReleaseNone=>4.5.4
    Tue 23 Dec 2008 11:05:40 AM UTCjayStatusReady For Test=>Fixed
    Sun 21 Dec 2008 09:16:19 PM UTCjayAttached File-=>Added 0001-Fix-misleading-erorr-message-when-argument-to-find.patch, #17109
      StatusNone=>Ready For Test
      Assigned toNone=>jay
      Summaryinvalid argument =>Misleading error message when argument to -user is an unknown user or is missing

    Back to the top


    Powered by Savane 3.1-cleanup1