summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2015-12-23 17:08:40 +0000
committerTim Graham <timograham@gmail.com>2015-12-24 09:56:54 -0500
commit47f3ee2625c5461624adc9f71f9624aa05c1e882 (patch)
treeddfd3d110d6aa9698c5be276b3dd9c034aa0f183 /docs/howto
parent4f2eb5fc5d430c788dd68853b499b1b4b9f8bb4c (diff)
[1.9.x] Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs. Backport of 77b8d8cb6d6d6345f479c68c4892291c1492ba7e from master
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/static-files/deployment.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/static-files/deployment.txt b/docs/howto/static-files/deployment.txt
index 396c8c85c0..da0427343e 100644
--- a/docs/howto/static-files/deployment.txt
+++ b/docs/howto/static-files/deployment.txt
@@ -95,7 +95,7 @@ Here's how this might look in a fabfile::
from fabric.contrib import project
# Where the static files get collected locally. Your STATIC_ROOT setting.
- env.local_static_root = '/tmp/static'
+ env.local_static_root = '/path/to/static'
# Where the static files should go remotely
env.remote_static_root = '/home/www/static.example.com'