--- loncom/debugging_tools/seed_accesscount.pl 2003/12/04 13:40:29 1.3 +++ loncom/debugging_tools/seed_accesscount.pl 2004/01/13 18:13:34 1.4 @@ -2,7 +2,7 @@ # # The LearningOnline Network # -# $Id: seed_accesscount.pl,v 1.3 2003/12/04 13:40:29 matthew Exp $ +# $Id: seed_accesscount.pl,v 1.4 2004/01/13 18:13:34 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -89,6 +89,7 @@ while (my $resDBname = shift()) { # untie %accessDB; untie %resevalDB; + system("chown www:www $accessDBname"); # remove the keys we saved. next if (! scalar(@Keys)); # skip it if we did not get anything... my $dbptr; @@ -102,6 +103,7 @@ while (my $resDBname = shift()) { $dbptr->reorganize(); $dbptr = undef; untie(%resevalDB); + system("chown www:www $resDBname"); } exit;