bugfindutils - Bugs: bug #42793, find using the option...

 
 

bug #42793: find using the option "-ls" fails with "Failed to write output"

Submitter:  Jens Schleusener <jschleus>
Submitted:  Thu 17 Jul 2014 02:47:35 PM UTC
   
 
Category:  find Severity:  5 - Blocker
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Jens Schleusener Open/Closed:  Closed
Release:  4.5.13 Fixed Release:  4.5.14
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Jul 2014 10:56:24 AM UTC, comment #2: 

I just release findutils-4.5.14 with this bugfix.  Please re-open this bug if you can still reproduce the problem with that release.

James Youngman <jay>
Group administrator
Fri 18 Jul 2014 11:50:53 PM UTC, comment #1: 

I believe I've found the problem (it's an uninitialised variable).

Please try applying the attached two patches to your 4.5.13 code, and re-testing.   Alternatively try using the code directly from a git checkout (I've already committed these patches to the public repository).

Thanks for the prompt bug report, by the way.   Sorry for any inconvenience.


(file #31740, file #31741)

James Youngman <jay>
Group administrator
Thu 17 Jul 2014 02:47:35 PM UTC, original submission:  

I just installed testwise findutils-4.5.13 (uner Linux openSUSE 13.1) but in contrast to findutils-4.5.12 I got an error if I use the option "-ls".

For e.g.

~> /usr/local/bin/find . -ls

128078  236 drwxr-xr-x 394 user group 23756 Jul 17 16:33 ./usr/local/soft2/bin/find: Failed to write output

or using the binary in the according source directory directly

/usr/local/src/findutils-4.5.13> find/find . -ls

535046    4 drwxr-xr-x  12 user group  4096 Jul 17 16:05 .find/find: Failed to write output

So someone (find?) seems to prefix a "." to the used program path/name and probably tries to write something in such a directory. If I testwise created such
missing directory find works as expected.

Jens

Jens Schleusener <jschleus>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)
  • -email is unavailable- added by jschleus (Submitted the item)
  •  

    There are 0 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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-19 jay Item GroupNone Wrong result
        StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.14
    2014-07-18 jay Attached File- Added 0001-Update-the-version-number-following-the-recent-relea.patch, #31740
        Attached File- Added 0002-Fix-bug-42793-Failed-to-write-output-with-ls.patch, #31741
    2014-07-18 jay Severity3 - Normal 5 - Blocker
        Assigned toNone jay

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code