[patch] django-admin.py should copy permissions of project_template files
|Reported by:||pb@…||Owned by:||adrian|
|Component:||Core (Management commands)||Version:||magic-removal|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The startproject command doesn't copy file permissions, so manage.py loses its executable bits. Attached patch uses shutil.copymode() to remedy this.