From: Mark Huang Date: Mon, 30 Oct 2006 22:38:22 +0000 (+0000) Subject: - make the Drupal files upload directory in case it does not exist X-Git-Tag: planetlab-4_0-rc1~84 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=8836fe610eadb90c78fcb192a0c318fe7cb2039c - make the Drupal files upload directory in case it does not exist (maybe pruned by CVS) --- diff --git a/plc.d/httpd b/plc.d/httpd index 6d985ef..f37d066 100755 --- a/plc.d/httpd +++ b/plc.d/httpd @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: httpd,v 1.5 2006/10/27 20:29:04 mlhuang Exp $ +# $Id: httpd,v 1.6 2006/10/30 16:13:50 mlhuang Exp $ # # Source function library and configuration @@ -130,6 +130,7 @@ EOF chown apache:apache $DocumentRoot/alpina-logs/nodes # Make the Drupal files upload directory owned by Apache + mkdir -p $DocumentRoot/files chown apache:apache $DocumentRoot/files # Old style PHP constants