On Mar 2, 10:14 am, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sun, Mar 1, 2009 at 10:56 PM, Chris Verehhotti <
>
> chris.peresso...@gmail.com> wrote:
>
> > > however, in my Thunar file viewer, every icon has a little "X" on it
> > > -- this makes me think it's a permissions issue, but I'm a Linux n00b
> > > and am not sure how to go about fixing this.  Do I need to do some
> > > kind of recursive chmod on the entire django tree in site-packages?
>
> > So.  Probably was a stupid question, and I pretty much had my
> > answer... looked a *nix tutorial about chmod, realized that every file
> > in that django site-package was 700.  I performed chmod -R 755 on the
> > whole thing and it works.
>
> How did you install Django?  It should not have been necessary to fix up the
> permissions after install, and it's not something I can remember hearing
> from anyone else, so whatever install method you used seems to have been a
> bit unusual and somewhat broken....
>
> Karen


I've just installed Django-1.0.2-final on a Red Hat Linux system, and
I've also run into this problem (TemplateDoesNotExist at /admin/).
I installed django the using "python setup.py install", and all of the
admin templates (located in /usr/local/lib/python2.6/site-packages/
django/contrib/admin/templates/admin) had rw permissions for the user
and r for the group, but no permissions for others.

I'm not sure, but one possible cause of this may relate to the umask
of the user who unpacks the original Django source code (My umask is
0007).  When Django is installed, does it preserve some file
permissions?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to