[LON-CAPA-cvs] cvs: loncom / lcuseradd
raeburn
raeburn at source.lon-capa.org
Fri Aug 9 21:15:13 EDT 2013
raeburn Sat Aug 10 01:15:13 2013 EDT
Modified files:
/loncom lcuseradd
Log:
- Bug 1320.
- No need to create a user directory in /home/httpd/html/priv/$udom/$uname
when a unix auth user is created; one will be created automatically if an
author role is assigned.
Index: loncom/lcuseradd
diff -u loncom/lcuseradd:1.42 loncom/lcuseradd:1.43
--- loncom/lcuseradd:1.42 Mon Oct 24 21:30:09 2011
+++ loncom/lcuseradd Sat Aug 10 01:15:13 2013
@@ -6,7 +6,7 @@
# with adding a user with filesystem privileges (e.g. author)
#
#
-# $Id: lcuseradd,v 1.42 2011/10/24 21:30:09 www Exp $
+# $Id: lcuseradd,v 1.43 2013/08/10 01:15:13 raeburn Exp $
###
###############################################################################
@@ -319,18 +319,6 @@
}
}
-# ------------------------------ Make final modifications to the user directory
-# -- Add a construction space
-
-my $path="/home/httpd/html/priv/".$domain;
-unless (-e $path) {
- mkdir($path);
-}
-unless (-e $path.'/'.$safeusername) {
- mkdir($path.'/'.$safeusername);
-}
-
-
# ---------------------------------------------------- Gracefull Apache Restart
my $pidfile;
if (-e '/var/run/httpd.pid') {
More information about the LON-CAPA-cvs
mailing list