stefan k has asked for the wisdom of the Perl Monks concerning the following question:
He uses File::Find, of course :-).
One question that arose is whether it would be better to create a giant list of files and pass them to the chmod command and rely on it's implementation or to call chmod for every single file. (Probably the middle-solution of creating groups of a certain size himself is stoopid). This is the question of performance.
The second question is whether chmod has a limit. Is there a maximum number of files/dirs that you can pass to chmod?
Well, and since this seems to be a quite common problem I may add to his questions whether this not already exists somewhere (permission fixing system, including exception lists, group settings and more). A quick search in the Monastery yielded no perfect results for me.
Regards... | Stefan |
you begin bashing the string with a +42 regexp of confusion |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 1: Limitations to chmod and performance
by tilly (Archbishop) on Nov 12, 2001 at 17:24 UTC | |
by arhuman (Vicar) on Nov 12, 2001 at 18:48 UTC | |
Re: Limitations to chmod and performance
by c-era (Curate) on Nov 12, 2001 at 17:57 UTC | |
Re: Limitations to chmod and performance
by Fletch (Bishop) on Nov 12, 2001 at 19:51 UTC | |
by stefp (Vicar) on Nov 13, 2001 at 06:38 UTC | |
Re: Limitations to chmod and performance
by Zaxo (Archbishop) on Nov 12, 2001 at 20:57 UTC | |
by stefan k (Curate) on Nov 12, 2001 at 21:04 UTC | |
by stefp (Vicar) on Nov 13, 2001 at 06:59 UTC | |
Re: Limitations to chmod and performance
by {NULE} (Hermit) on Nov 12, 2001 at 23:09 UTC |