[development] Temp file conflicts

Boris Mann boris at bryght.com
Thu Jul 5 21:05:40 UTC 2007


On 7/5/07, Rob Barreca <rob at electronicinsight.com> wrote:
> Earnie Boyd wrote:
> > I haven't worked on a way but possibilities exist.  The one I see
> > working best is to move the files directory to the sites directory.
> > So if I have sample1.com and sample2.com; sites/sample1.com/files and
> > sites/sample2.com/files would separate them.
> >
> That is best practice for the files directory, but he was asking about
> the tmp directory which is different. I was using /tmp/sample1.com and
> /tmp/sample2.com, but just ran into an issue where if that subdir got
> removed by some process or server restart, CSS/JS aggregator would
> completely barf with the file /tmp/FJKdkjfsldjf could not be moved to
> files/css/34jk3l4j2k34j34.css because it is not configured properly.
>
> Bad error message as it really means that /tmp/sample1.com folder needs
> to be created. I just created an issue for this at
> http://drupal.org/node/157134 so I remember.

Um. Or just put "tmp" at /sites/example.com/tmp ....

-- 
Boris Mann
Office 604-682-2889
Skype borismann
http://www.bryght.com


More information about the development mailing list