Opened 18 years ago
Closed 18 years ago
#5307 closed (fixed)
django should make files created by startproject/startapp writeable
Description ¶
I noticed today that my previous fix (see Ticket #4688) only changed permissions for settings.py. We actually have the same problem with the files created by startapp from our read-only Django repository. This patch moves the permissions manipulation away from startproject.py to base.py, and is run for anything that uses copy_helper(). It also improves upon the old patch by calculating the proper permissions to achieve user-writeability rather than hardcoding 0600.
The attached patch is against today's trunk checkout.
Change History (2)
by , 18 years ago
Attachment: | patch.trunk added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch to implement said changes, including addition of _make_writeable()