in reply to Re: Limitations to chmod and performance
in thread Limitations to chmod and performance

On a linux box, this is easily illustrated by the following experiment (better carried on the /tmp directory):

 strace -e trace=file perl -e 'chmod 0777, "a".."z"' 2>&1 | tail -26

One will see 26 chmod system calls.

-- stefp