summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-09-14 21:48:50 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-09-14 21:48:50 +0000
commit8cf9a6d64bd8f246dc1e0b800bf67c689cfeac5c (patch)
treee6d28cb489bf2378a4b4c0d31a02cd205d4b946b
parentcadc6e8c9fab8c56d50e8bb3e92519e0caca03b7 (diff)
Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/tutorial01.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt
index 77b5b11103..2e18fd6130 100644
--- a/docs/tutorial01.txt
+++ b/docs/tutorial01.txt
@@ -41,6 +41,16 @@ From the command line, ``cd`` into a directory where you'd like to store your
code, then run the command ``django-admin.py startproject mysite``. This
will create a ``mysite`` directory in your current directory.
+.. admonition:: Max OS X permissions
+
+ If you're using Mac OS X, you may see the message "permission
+ denied" when you try to run ``django-admin.py startproject``. This
+ is because, on Unix-based systems like OS X, a file must be marked
+ as "exceutable" before it can be run as a program. To do this, open
+ Terminal.app and navigate (using the `cd` command) to the directory
+ where ``django-admin.py`` is installed, then run the command
+ ``chmod +x django-admin.py``.
+
.. note::
You'll need to avoid naming projects after built-in Python or Django