From 8cf9a6d64bd8f246dc1e0b800bf67c689cfeac5c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 14 Sep 2007 21:48:50 +0000 Subject: [PATCH] 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 --- docs/tutorial01.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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