Opened 6 years ago

Closed 6 years ago

#13857 closed (duplicate)

Default umask weirdness

Reported by: Simon Litchfield Owned by: rkm
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

It's great that #8454 was accepted and we now have a FILE_UPLOAD_PERMISSIONS setting.

However, the default is still weird and inconsistent. Typically it's >2.5mb=0600 and <2.5mb=0644.

Either we make a clear note about this; or, better still, we fix what is arguably a bug.

Patches for both options attached.

Attachments (2)

default-umask.diff (1.7 KB) - added by Simon Litchfield 6 years ago.
Standardise default umask to match system default, includes doc
default-umask-nochange.diff (1.2 KB) - added by Simon Litchfield 6 years ago.
Alternatively, add a note to doc to better describe current behaviour

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Simon Litchfield

Attachment: default-umask.diff added

Standardise default umask to match system default, includes doc

Changed 6 years ago by Simon Litchfield

Attachment: default-umask-nochange.diff added

Alternatively, add a note to doc to better describe current behaviour

comment:1 Changed 6 years ago by Karen Tracey

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

This sounds the same to me as #12670.

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