Tuesday, May 3, 2011

Re: How do I set permissions for manual install of 1.3 for ubuntu 11.04?

On Sat, Apr 30, 2011 at 11:16 AM, jsierra <joshuasierra@gmail.com> wrote:
> I figured it out, i chmod -R 775 the django directory located in
> /usr/local/lib/python2.7/dist-packages and was able to use the commands
> without sudo. Whether or not that's a good idea, I don't know, but it's my
> personal laptop anyway. Thanks for tying to help Shawn. Much appreciated.
>
> Regards,
> Joshua Sierra
>

It's not a good idea, it's an incredibly bad idea. You do not have to
use sudo to run django-admin commands, if you do you are doing
something wrong. Users should not need to or be able to write into
/usr/local/lib/. I suspect you are doing something incorrectly.

Cheers

Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment