Changes to file download method (public/private downloads) not supported

cms_tux - October 21, 2009 - 19:08
Project:Hosting
Version:6.x-0.4-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Aegir 0.4-Alpha2 installed on Ubuntu 8.04.3 via install script.

A positive response is given when saving changes at Site configuration --> File system
yet the fields revert back to the default values.

This is due to the following code in settings.php

global $conf;
$conf['file_directory_path'] = 'sites/example.com/files';
$conf['file_directory_temp'] = 'sites/example.com/files/tmp';
$conf['file_downloads'] = 1;
$conf['cache'] = 1;
$conf['clean_url'] = 1;

#1

adrian - October 21, 2009 - 19:46
Status:active» by design

this is by design. otherwise the sites would walk all over their directories and it would be impossible to migrate them cleanly

#2

cms_tux - October 22, 2009 - 12:36

So by design the private download method has been disabled.

#3

adrian - October 22, 2009 - 13:11
Title:Changes to File system are not retained» Changes to file download method (public/private downloads) not supported
Status:by design» active

private download is a major performance drain, and that code is from the hostmaster code base.

you can comment out that line in the settings template file for now, and we can patch it to allow it to be set.

i've opened to issue again and changed it to be more specific to your needs.

 
 

Drupal is a registered trademark of Dries Buytaert.