#26494: executable flags lost when using an archive as a project/app template
---------------------------+------------------------------------
     Reporter:  misli      |                    Owner:  nobody
         Type:  Bug        |                   Status:  new
    Component:  Utilities  |                  Version:  1.9
     Severity:  Normal     |               Resolution:
     Keywords:             |             Triage Stage:  Accepted
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+------------------------------------
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0
 * stage:  Unreviewed => Accepted


Old description:

> If I create new project using an archive (both zip or tar.gz), manage.py
> is not executable.
> If I unpack the archive first and than use the directory as a template,
> it works as expected.

New description:

 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.

--

Comment:

 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.

--
Ticket URL: <https://code.djangoproject.com/ticket/26494#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.48e9e4c3a321724354f22de67221b988%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to