Opened 9 years ago
Last modified 8 years ago
#26494 closed Bug
executable flags lost when using an archive as a project/app template — at Version 1
Reported by: | Jakub Dorňák | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | desecho@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
If I create new project using an archive (both zip or tar.gz) containing an executable manage.py
, e.g. django-admin startproject --template=~/template.zip mysite
, manage.py
is not executable in the resulting project. If I unpack the archive first and than use the directory as a template, it works as expected.
Change History (1)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|---|
Summary: | executable flags lost when using an archive as a template → executable flags lost when using an archive as a project/app template |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
I'm not sure if the issue is with Django or with Python (e.g. https://bugs.python.org/issue15795 looks like a related issue) but accepting for further investigation.
django/utils/archive.py
is likely the place to investigate.