[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "find: '/usr/...': Too many open files" when using -execdir

From: Kamil Dudka
Subject: Re: "find: '/usr/...': Too many open files" when using -execdir
Date: Sat, 03 Jun 2017 16:18:49 +0200
User-agent: KMail/4.14.10 (Linux/4.9.16-gentoo; KDE/4.14.32; x86_64; ; )

On Saturday, June 03, 2017 09:03:54 Dale R. Worley wrote:
> I know I've seen something about this before:  When I use -execdir, I
> get a message like:
> find: '/usr/share/texlive/texmf-dist/tex4ht/ht-fonts/alias/kurier/sy-iwona':
> Too many open files find: Failed to save working directory in order to run
> a command on 'qx-iwonacap': Too many open files
> But I can't find an entry in the bug tracker
> (http://savannah.gnu.org/bugs/?group=findutils) about it.  (BTW, the
> search facilities in that tracker are really poor.)

I believe it is fixed by the following upstream commit, which includes also 
indentation changes, unfortunately:


Here you can find the actual fix extracted from the above commit:


... and this seems to be the related upstream bug report:



> It seems that replacing -execdir with -exec makes that problem go
> away, but as the manual page says, there are significant security
> problems with -exec.
> Dale

reply via email to

[Prev in Thread] Current Thread [Next in Thread]