[development] Temp file conflicts
Bèr Kessels
ber at webschuur.com
Sun Jul 8 20:40:45 UTC 2007
Op donderdag 05 juli 2007, schreef Darrel O'Pry:
> Yeah, there is a setting for it with the file storage path.
>
> On Wed, 2007-07-04 at 18:16 -0400, Darren Oh wrote:
> > Has anyone worked on a way to prevent two Drupal sites on a single
> > server from using the same temporary directory? Conflicts when
> > multiple sites add the same files to /tmp affect Chat Room and XML
> > Site Map.
I have this path hardcoded in the settings.php for all the sites on the
server. The settings hardcode tmp dirs to
in /path/to/Drupal/sites/example.com/files/tmp.
that way they a) use up the diskspace for one account. b) cannot be changed to
path/to/drupal/modules/node/ (what happens when someone changes it to that
and uploads a node.module file.... yup, your probably rooted then) c)
no 'nobody's as file owners and other nasty /tmp hacks possible. d)
require /only/ files to be writable.
Bèr
--
Drupal, Ruby on Rails and Joomla! development: webschuur.com | Drupal hosting:
www.sympal.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20070708/cac2bc39/attachment.pgp
More information about the development
mailing list