setfacl with many files at cmdline -> Too many open files (fwd)

Nathan Scott <[email protected]> Thu, 6 Jan 2005 14:43:05 +1100
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <20050106034305.GC1094@frodo>
FYI - wonder if we have a file descriptor leak in setfacl?
Or perhaps the nftw in there is holding too many fds open?

cheers.

----- Forwarded message from Dirk Pape <[email protected]> -----

Date: Wed, 05 Jan 2005 10:56:05 +0100
To: Debian Bug Tracking System <[email protected]>
X-Mailer: reportbug 3.2
Reply-To: Dirk Pape <[email protected]>, [email protected]
From: Dirk Pape <[email protected]>
Subject: Bug#288710: setfacl with many files at cmdline -> Too many open files

Package: acl
Version: 2.2.23-1
Severity: normal

if you call setfacl with many files on the cmdline you get an error:
"Too many open files". This happens in both of the following ways:

find . | setfacl -m ... -

or

find . -print0 | xargs -0 setfacl -m ...

I did not test the maximal number of cmd-line files working. I think
this will depend on the system.

Dirk.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages acl depends on:
ii  libacl1                     2.2.23-1     Access control list shared library
ii  libattr1                    2.4.16-1     Extended attribute shared library
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an

-- no debconf information


----- End forwarded message -----

-- 
Nathan

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel