bugfindutils - Bugs: bug #28824, incorrect error message on invalid...


bug #28824: incorrect error message on invalid argument

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Fri 05 Feb 2010 06:50:41 PM UTC  
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Marc LehmannOpen/Closed: Closed
Release: 4.4.2Fixed Release: 4.5.6b

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 20 Feb 2010 07:32:53 PM UTC, comment #2:

Fixed in 4.4.x branch.
Fixed in 4.5.x branch.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 06 Feb 2010 03:19:21 PM UTC, comment #1:

This is not specific to -(a|m|c)time:

ametzler@argenau:/tmp/FIND$ find /tmp/ -links aas
find: missing argument to `-links'
ametzler@argenau:/tmp/FIND$ find /tmp/ -gid ghhg
find: missing argument to `-gid'
ametzler@argenau:/tmp/FIND$ find /tmp/ -cmin x
find: missing argument to `-cmin'

Andreas Metzler <ametzler>
Fri 05 Feb 2010 06:50:41 PM UTC, original submission:

(SID)ametzler@argenau:~$ find /tmp/ -ctime x
find: missing argument to `-ctime'
(SID)ametzler@argenau:~$ find --version
find (GNU findutils) 4.4.2

This is non-ancient breakage and also applies to GIT head. (both oldfind and find). It was introduced in 4.3.6, earlier versions are fine:

findutils_4.2.33-1/usr/bin/find: invalid argument `x' to `-ctime'
findutils_4.3.5-1/usr/bin/find: invalid argument `x' to `-ctime'
findutils_4.3.6-1/usr/bin/find: missing argument to `-ctime'
findutils_4.3.8-1/usr/bin/find: missing argument to `-ctime'

The issue was reported by Marc Lehmann in http://bugs.debian.org/568490

cu andreas

Andreas Metzler <ametzler>


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

Attach File(s):

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 (Updated 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
    Wed 31 Mar 2010 07:30:11 AM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.6b
    Sat 20 Feb 2010 07:32:53 PM UTCjayStatusIn Progress=>Fixed
    Sat 20 Feb 2010 12:55:39 PM UTCjayStatusNone=>In Progress
      Assigned toNone=>jay
    Sat 06 Feb 2010 03:19:30 PM UTCametzlerCarbon-CopyRemoved 20807=>-
    Fri 05 Feb 2010 06:53:41 PM UTCametzlerCarbon-CopyRemoved 20807=>-

    Back to the top

    Powered by Savane 3.1-cleanup1