Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1651 closed defect (fixed)

[patch] should copy permissions of project_template files

Reported by: pb@… 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


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@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by pb@…

Attachment: copymode.patch added


comment:1 Changed 13 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 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(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