Opened 14 years ago

Closed 14 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: no UI/UX: no

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 14 years ago.
Standardise default umask to match system default, includes doc
default-umask-nochange.diff (1.2 KB ) - added by Simon Litchfield 14 years ago.
Alternatively, add a note to doc to better describe current behaviour

Download all attachments as: .zip

Change History (3)

by Simon Litchfield, 14 years ago

Attachment: default-umask.diff added

Standardise default umask to match system default, includes doc

by Simon Litchfield, 14 years ago

Attachment: default-umask-nochange.diff added

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

comment:1 by Karen Tracey, 14 years ago

Resolution: duplicate
Status: newclosed

This sounds the same to me as #12670.

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