Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #4245 -- Added documentation about permission error on OS X. Th…

…anks, jacob@gridface.com and ubernostrum and others

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8cf9a6d64bd8f246dc1e0b800bf67c689cfeac5c 1 parent cadc6e8
@adrianholovaty adrianholovaty authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 docs/tutorial01.txt
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.