runfcgi umask option should use literal value
|Reported by:||petteyg||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.2|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
The umask option is converted to an int, instead of taken as typed.
./manage.py runfcgi umask=0111 (decimal int) creates a socket with umask 0157 (octal). umask=0022 creates a socket with umask 0026. umask=0027 creares a socket with umask 0033.
A user on IRC suggested use of ast.literal_eval() instead.
Change History (11)
comment:1 in reply to: ↑ description Changed 3 years ago by ramiro
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
Changed 3 years ago by ramiro
comment:2 Changed 3 years ago by ramiro
- Has patch set
- Needs tests set
- Triage Stage changed from Unreviewed to Accepted