From f8a441cead5565842dcaa80041c698b6139cbfa9 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 15 Sep 2010 17:14:04 +0000 Subject: [PATCH] Have the UNL profile set world write permissions on the files directory in the newly created site directory. git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@166 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- profiles/unl_profile/unl_profile.install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install index e023d026..24a8c4c0 100644 --- a/profiles/unl_profile/unl_profile.install +++ b/profiles/unl_profile/unl_profile.install @@ -44,6 +44,8 @@ function unl_profile_install() theme_enable(array('unl_wdn')); variable_set('theme_default', 'unl_wdn'); + //TODO: IMCE setup (currently cannot be shared between sites) + // Update the settings file to use shared database tables (unless this is the default site) if (conf_path() != 'sites/default') { @@ -83,7 +85,8 @@ function unl_profile_install() //print_r($permissions); //user_role_grant_permissions(3, array($permissions)); - //echo "\nducks\n"; + $files_dir = $settings_dir . '/files'; + chmod($files_dir, 0777); return; } -- GitLab