Opened 6 years ago

Closed 6 years ago

#18947 closed Bug (fixed)

Uploaded files have exec bit set by default

Reported by: Lauri Tirkkonen Owned by: nobody
Component: File uploads/storage Version: master
Severity: Normal Keywords:
Cc: charette.s@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Change History (5)

comment:1 Changed 6 years ago by Lauri Tirkkonen

Component: UncategorizedFile uploads/storage

comment:2 Changed 6 years ago by Simon Charette

Cc: charette.s@… added
Triage Stage: UnreviewedReady for checkin
Version: 1.4master

comment:3 Changed 6 years ago by Aymeric Augustin

How does this relate to settings.FILE_UPLOAD_PERMISSIONS?

comment:4 Changed 6 years ago by Florian Apolloner

FILE_UPLOAD_PERMISSIONS still can override it, this change is just here to provide a more sensible default, see

comment:5 Changed 6 years ago by Florian Apolloner <florian@…>

Resolution: fixed
Status: newclosed

In e8c6aff3bf31b775dd70581b1cf6f86d5abd4001:

Fixed #18947 -- Don't make uploaded files executeable by default.

Thanks to Lauri Tirkkonen for the patch.

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