Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#11986 closed Cleanup/optimization (fixed)

Mac install directions should mention sudo

Reported by: roy@… Owned by: steven_elliott_jr
Component: Documentation Version: 1.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

You say:

Mac 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 “executable” 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 that the "chmod +x django-admin.py" command will probably need "sudo", which should be mentioned.

Of course, on wonders why the installer couldn't do this automatically, but that's another question.

Attachments (1)

ticket11986.diff (532 bytes ) - added by Jure Cuhalev <gandalf@…> 13 years ago.
Add sudo to command

Download all attachments as: .zip

Change History (8)

comment:2 by Russell Keith-Magee, 14 years ago

Needs documentation: set
Triage Stage: UnreviewedAccepted

comment:3 by steven_elliott_jr, 14 years ago

Owner: changed from nobody to steven_elliott_jr
Status: newassigned

comment:4 by Peter Baumgartner, 13 years ago

Severity: Normal
Type: Cleanup/optimization

comment:5 by Jure Cuhalev <gandalf@…>, 13 years ago

Easy pickings: unset
Has patch: set
UI/UX: unset

Since the official tutorial for installation suggest installing django on mac using sudo, attached patch adds sudo command.

by Jure Cuhalev <gandalf@…>, 13 years ago

Attachment: ticket11986.diff added

Add sudo to command

comment:6 by Tim Graham, 12 years ago

Resolution: fixed
Status: assignedclosed

In [17318]:

Fixed #11986 - Added sudo to Mac OS permissions note in tutorial.

comment:7 by Tim Graham, 12 years ago

In [17319]:

[1.3.X] Fixed #11986 - Added sudo to Mac OS permissions note in tutorial.

Backport of r17318 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top