Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1651 closed defect (fixed)

[patch] should copy permissions of project_template files

Reported by: pb@… Owned by: adrian
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: UI/UX:


The startproject command doesn't copy file permissions, so loses its executable bits. Attached patch uses shutil.copymode() to remedy this.

Attachments (1)

copymode.patch (1.3 KB) - added by pb@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by pb@…


comment:1 Changed 10 years ago by pb@…

Actually this patch covers both startproject and startapp, even though app_template files (currently) all have the usual -rw-r--r-- permissions.

comment:2 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2709]) magic-removal: Fixed #1651 -- 'startproject' and 'startapp' now copy permission bits. Thanks, pb

Note: See TracTickets for help on using tickets.
Back to Top