#4245: django-admin returns "permission denied" with start-project on OSX
---------------------------------------------------+------------------------
Reporter: [EMAIL PROTECTED] | Owner:
jacob
Status: reopened | Component:
Documentation
Version: 0.96 | Resolution:
Keywords: install project create startproject | Stage:
Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------------------------+------------------------
Changes (by [EMAIL PROTECTED]):
* keywords: => install project create startproject
* status: closed => reopened
* version: SVN => 0.96
* resolution: invalid =>
Comment:
I'm not the original reporter, but I've just encountered this problem.
Mac OS X 10.4.10 (Intel)
Python 2.3.5 (#1, Aug 19 2006, 21:31:42)
Steps taken:
1. Download Django 0.96
(http://www.djangoproject.com/download/0.96/tarball/) into
/Users/pauldwaite/Desktop/
2. {{{
cd ~/Desktop
tar xzvf Django-0.96.tar.gz
cd Django-0.96
sudo python setup.py install
}}}
After this, /Library/Python/2.3/site-packages/django/ is present and
correct. But /Library/Python/2.3/site-packages/django/bin/django-admin.py
has the permissions -rw-r--r--, so this command:
{{{
/Library/Python/2.3/site-packages/django/bin/django-admin.py startproject
mysite
}}}
Returns "Permission denied", even when the user has permissions for the
directory they're in.
Adding execute permissions for django-admin.py's group (i.e. admin) fixes
this problem:
{{{
sudo chmod g+x /Library/Python/2.3/site-packages/django/bin/django-
admin.py
}}}
--
Ticket URL: <http://code.djangoproject.net/ticket/4245#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---