--- loncom/build/add_domain_coordinator_privilege.pl 2007/12/31 16:49:23 1.3 +++ loncom/build/add_domain_coordinator_privilege.pl 2008/01/03 21:16:11 1.4 @@ -14,7 +14,7 @@ exisiting user on a LON-CAPA system. # add_domain_coordinator_privilege.pl - Add domain coordinator to an # exisiting user on a LON-CAPA system. # -# $Id: add_domain_coordinator_privilege.pl,v 1.3 2007/12/31 16:49:23 raeburn Exp $ +# $Id: add_domain_coordinator_privilege.pl,v 1.4 2008/01/03 21:16:11 raeburn Exp $ # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). # @@ -207,6 +207,9 @@ my $domkey=&LONCAPA::escape('dc:'.$usern $domrolesref->{$domkey}= &LONCAPA::escape('0:'.$now); &LONCAPA::locking_hash_untie($domrolesref); + system('/bin/chown',"www:www","$dompath/nohist_domainroles.db"); # Must be writeable by httpd process. + system('/bin/chown',"www:www","$dompath/nohist_domainroles.db.lock"); + =pod =item 2.