#1651 closed defect (fixed)
[patch] django-admin.py should copy permissions of project_template files
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | magic-removal |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The startproject command doesn't copy file permissions, so manage.py loses its executable bits. Attached patch uses shutil.copymode() to remedy this.
Attachments (1)
Change History (3)
by , 19 years ago
Attachment: | copymode.patch added |
---|
comment:1 by , 19 years ago
Actually this patch covers both startproject and startapp, even though app_template files (currently) all have the usual -rw-r--r-- permissions.
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch