--- "David F. Skoll" <[EMAIL PROTECTED]> wrote: > On Fri, 2 Apr 2004, Paul Murphy wrote: > system("chmod -R g+rwX $dir");
Perl has its own embeded chmod function. The "system" call to the shell should be avoided if at all possible, since it does slow things down. You'd have to write more code since perl's chmod function doesn't give you the option to recursivley descend through the directory structure. But I'll bet the "Perl Cookbook" by Christianson and Torkington has some code you could appropriate. === Al _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang