Opened 6 years ago

Closed 3 years ago

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

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 5 years ago by russellm

  • Needs documentation set
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 5 years ago by steven_elliott_jr

  • Owner changed from nobody to steven_elliott_jr
  • Status changed from new to assigned

comment:4 Changed 4 years ago by baumer1122

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:5 Changed 4 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 4 years ago by Jure Cuhalev <gandalf@…>

Add sudo to command

comment:6 Changed 3 years ago by timo

  • Resolution set to fixed
  • Status changed from assigned to closed

In [17318]:

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

comment:7 Changed 3 years ago by timo

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