[LON-CAPA-cvs] cvs: loncom /build expire_DC_role.pl
raeburn
raeburn at source.lon-capa.org
Tue Mar 10 16:19:14 EDT 2015
raeburn Tue Mar 10 20:19:14 2015 EDT
Modified files:
/loncom/build expire_DC_role.pl
Log:
- Correct path to nohist_rolelog.db
Index: loncom/build/expire_DC_role.pl
diff -u loncom/build/expire_DC_role.pl:1.5 loncom/build/expire_DC_role.pl:1.6
--- loncom/build/expire_DC_role.pl:1.5 Fri Oct 12 12:29:00 2012
+++ loncom/build/expire_DC_role.pl Tue Mar 10 20:19:14 2015
@@ -6,7 +6,7 @@
# a user who currently has such a role in a domain for which current server is
# a library server for the domain.
#
-# $Id: expire_DC_role.pl,v 1.5 2012/10/12 12:29:00 raeburn Exp $
+# $Id: expire_DC_role.pl,v 1.6 2015/03/10 20:19:14 raeburn Exp $
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
#
@@ -232,8 +232,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");
# Output success message.
print(&mt('User: [_1], domain coordinator role expired in domain: [_2].',$user,$role_domain)."\n");
More information about the LON-CAPA-cvs
mailing list