On Tue, Jun 06, 2006 at 10:57:53AM +1000, Michael Lake wrote: > How do I change the group ownership within a cgi script? > I tried this: > system("chgrp src path_to_files/*"); > but I get a "Operation not permitted" in the apache log.
Is the www-data user in the src group? Non-root users need to be a member of the destination group (for security reasons). Note there's also in-Perl ways of doing a chgrp. - Matt _______________________________________________ coders mailing list [EMAIL PROTECTED] http://lists.slug.org.au/listinfo/coders