From 77b8d8cb6d6d6345f479c68c4892291c1492ba7e Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 23 Dec 2015 17:08:40 +0000 Subject: 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. --- docs/man/django-admin.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/man') diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1 index abb09f354a..3f07cc0e7a 100644 --- a/docs/man/django-admin.1 +++ b/docs/man/django-admin.1 @@ -2404,7 +2404,7 @@ support the \fBstdout\fP and \fBstderr\fP options. For example, you could write: .sp .nf .ft C -with open(\(aq/tmp/command_output\(aq) as f: +with open(\(aq/path/to/command_output\(aq) as f: management.call_command(\(aqdumpdata\(aq, stdout=f) .ft P .fi -- cgit v1.3