﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12792	admin templates get wrong perms on installation in 1.1.1 tarball	tjboring	nobody	"as part of upgrading from 0.96 to 1.1.1, i followed the steps outlined here [http://docs.djangoproject.com/en/dev/topics/install/#topics-install]:

1.   removed 0.96 package (apt-get remove python-django)
1.   downloaded the 1.1.1 tarball, Django-1.1.1.tar.gz
1.   unzipped it and installed it (python setup.py install)

after installation, i started playing with a toy app that i started in 0.96, and upon activing the admin interface in the 'definitive guide to django' realized that something was wrong.  when trying to hit the /admin/ url, i was getting a TemplateDoesNotExist error.  you can see the full stack trace here:

http://dpaste.com/154804/

after removing and reinstalling django again and still getting the error, i decided to check the perms on the templates in /usr/lib/python2.5/site-packages/django/contrib/admin/templates.  all the templates in admin/ and registration/ were 0640 and owned by root.  so i did this:

sudo find /usr/lib/python2.5/site-packages/django/contrib/admin/templates -name ""*.html"" | xargs chmod 0644

after that, the admin site now works and can access/render the templates correctly.  i'm not that familiar with python's setuptools, but i'm guess that something didn't go right during the install?

i'm happy to provide more info if needed.  just let me know. :)

thx,
tim"	Uncategorized	closed	Template system	1.1	Normal	needsinfo	templates, installation		Accepted	0	0	0	0	0	0
