[LON-CAPA-cvs] cvs: loncom /build add_domain_coordinator_privilege.pl

raeburn raeburn at source.lon-capa.org
Tue Mar 10 17:26:04 EDT 2015


raeburn		Tue Mar 10 21:26:04 2015 EDT

  Modified files:              
    /loncom/build	add_domain_coordinator_privilege.pl 
  Log:
  - Correct path to nohist_rolelog.db
  
  
Index: loncom/build/add_domain_coordinator_privilege.pl
diff -u loncom/build/add_domain_coordinator_privilege.pl:1.9 loncom/build/add_domain_coordinator_privilege.pl:1.10
--- loncom/build/add_domain_coordinator_privilege.pl:1.9	Sun Feb 22 19:31:38 2015
+++ loncom/build/add_domain_coordinator_privilege.pl	Tue Mar 10 21:26:04 2015
@@ -14,7 +14,7 @@
 # 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.9 2015/02/22 19:31:38 raeburn Exp $
+# $Id: add_domain_coordinator_privilege.pl,v 1.10 2015/03/10 21:26:04 raeburn Exp $
 #
 # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
 #
@@ -261,8 +261,8 @@
 $rolelogref->{$domlogkey}=&freeze_escape($domlogvalue);
 &LONCAPA::locking_hash_untie($rolelogref);
 
- system('/bin/chown',"www:www","$dompath/$subdir/nohist_rolelog.db"); # Must be writeable by httpd process.
- system('/bin/chown',"www:www","$dompath/$subdir/nohist_rolelog.db.lock");
+ system('/bin/chown',"www:www","$dompath/$subdir/$domconfiguser/nohist_rolelog.db"); # Must be writeable by httpd process.
+ system('/bin/chown',"www:www","$dompath/$subdir/$domconfiguser/nohist_rolelog.db.lock");
 
 =pod
 




More information about the LON-CAPA-cvs mailing list