Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#31821 closed Cleanup/optimization (fixed)

FILE_UPLOAD_PERMISSIONS docs contain outdated note.

Reported by: Pavel Mises Owned by: Harpreet Sharma
Component: Documentation Version: dev
Severity: Normal Keywords: FILE_UPLOAD_PERMISSIONS
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The current documentation for FILE_UPLOAD_PERMISSIONS (https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-FILE_UPLOAD_PERMISSIONS) states two contradicting pieces of information:

  • The default value of FILE_UPLOAD_PERMISSIONS is 0o644.
  • If this isn’t given or is None, you’ll get operating-system dependent behavior.

It seems that after changing the default value in #30004, the part stating "this isn’t given" is no longer valid and should be removed.

Change History (6)

comment:1 by Harpreet Sharma, 4 years ago

Owner: changed from nobody to Harpreet Sharma
Status: newassigned

comment:2 by Mariusz Felisiak, 4 years ago

Summary: Confusing documentation for FILE_UPLOAD_PERMISSIONSFILE_UPLOAD_PERMISSIONS docs contain outdated note.
Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

Resolution: fixed
Status: assignedclosed

In 248d03fb:

Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.

Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe

comment:5 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 08063f0:

[3.0.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.

Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe

Backport of 248d03fbe932b0844c628e56dafba334f9e028e4 from master

comment:6 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 3116444:

[3.1.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.

Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe

Backport of 248d03fbe932b0844c628e56dafba334f9e028e4 from master

Note: See TracTickets for help on using tickets.
Back to Top