Django

Code

Ticket #1651 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

[patch] django-admin.py should copy permissions of project_template files

Reported by: pb@e-scribe.com Assigned to: adrian
Milestone: Component: django-admin.py
Version: magic-removal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

copymode.patch (1.3 kB) - added by pb@e-scribe.com on 04/17/06 07:21:30.
patch

Change History

04/17/06 07:21:30 changed by pb@e-scribe.com

  • attachment copymode.patch added.

patch

04/17/06 07:31:59 changed by pb@e-scribe.com

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

04/17/06 09:05:41 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #1651 ([patch] django-admin.py should copy permissions of project_template files)




Change Properties
Action