Flexible filemode for attachments
|Priority:||Could have||Due date:|
At the moment, the filemode for uploaed files is set hardcoded to 0444.
This will work in most scenarios but I have one where the client needs to edit attachments via sftp.
This is why I need attachments to be created with 0664 file mask (group editable).
I attached a patch that allows the filemode to be configured via TypoScript constants.
Alternativeley, you could use t3lib_div::fixPermissions().