Opened 7 years ago

Closed 5 years ago

Last modified 5 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@…> 6 years ago.
Add sudo to command

Download all attachments as: .zip

Change History (8)

comment:2 Changed 7 years ago by Russell Keith-Magee

Needs documentation: set
Triage Stage: UnreviewedAccepted

comment:3 Changed 6 years ago by steven_elliott_jr

Owner: changed from nobody to steven_elliott_jr
Status: newassigned

comment:4 Changed 6 years ago by Peter Baumgartner

Severity: Normal
Type: Cleanup/optimization

comment:5 Changed 6 years ago by Jure Cuhalev <gandalf@…>

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.

Changed 6 years ago by Jure Cuhalev <gandalf@…>

Attachment: ticket11986.diff added

Add sudo to command

comment:6 Changed 5 years ago by Tim Graham

Resolution: fixed
Status: assignedclosed

In [17318]:

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

comment:7 Changed 5 years ago by Tim Graham

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