Opened 18 years ago
Closed 18 years ago
#2956 closed defect (fixed)
[patch] "django-admin.py startproject" fails unnecessarily when permissions can't be set for the new project.
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Running "django-admin.py startproject new_project_name" in an environment where permissions can't be set (a FAT32 partition mounted under Linux, in my case) results in an OSError. This doesn't need to happen if the user doesn't mind that permissions for the new project won't be set as django-admin.py wants to set them.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | management.py.diff added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch that prompts user for action when permissions can't be set on a file.